XF 2.1 Make root Url for home page

Oleksandr_

New member
Hello!
I've created home page for my website and it works on link /home
I'd like to make it work on root link /
I changed in admin panel /admin.php?options/groups/basicBoard/ Index page route to /home. After that when I'm opening root Url, it redirects me to /home.
How can I make it work just from root Url without redirect?
Thank you for your help=)
 

Brogan

XenForo moderator
Staff member
Is the home page part of XF or an external page?

Is XF installed in the domain root or a sub directory?

A link to the site and page in question would help.
 

Brogan

XenForo moderator
Staff member
Then all you should need to do is set the index page route to the page and the site should load to that page without the /home in the URL.
 

Mr Lucky

Well-known member
Are you using a route filter with your page? If so you I think this won't work

So your index page route would be pages/home/ (with trailing slash)
 
Top