Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEO URLs Home Page as SITE_URL #52

Open
billcreswell opened this issue Apr 4, 2018 · 1 comment
Open

SEO URLs Home Page as SITE_URL #52

billcreswell opened this issue Apr 4, 2018 · 1 comment

Comments

@billcreswell
Copy link
Contributor

When I set my home page, my site redirects www.domain.com to www.domain.com/home

I'd prefer this just be the SITE_URL, but I haven't figured out whether this is the htaccess, or the url processing inside

@BSteelooper
Copy link
Contributor

In the pluck installation there is no .htaccess. you have probably created one to remove the index.php?file=*
You probably have this from the seo module?

If there is an easy way to include a "this is my default homepage" option on the page we can check the defaulthomepage.php (to be created) what is to be the homepage. if a request comes in for the SITE_URL defined in this page you can just strip this.
(line 60 of seo.php)

and then you have to modify the functions.site.php line 265 to check for empty, and if empty then show the homepage.

I don't think you would want this in the default setup, but we can add it as an option??

You don't have to change anything in the htaccess I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants