XF 2.2 [Solved] Not sure if I am using Index page route correctly?

John917

Active member
Licensed customer
Hey guys,
If I have xenforo installed in root directory on my server, and I have a /home directory that has a homepage landing page, shouldn't this config shown below (index page route) work where I do site.com and it redirects to site.com/home?
1713818739174.webp
Or am I missing a config in .htaccess?

Because when I do this, I just get this error when I go to site.com "The requested page could not be found or no access."

I tried putting Cloudflare to development mode and no luck either.
I can access landing page through site.com/home
 
Last edited:
How is the home route created? Is it a route filter to a page node? If so, per the option description, you should enter the regular route (pre-filter) route.
 
So if root folder is /
xenforo including index.php is installed in this index.

/home is a directory on the index which contains the landing page.

/
/index.php (from xenforo)
/home/index.html (landing page)

No route filters used for /home

So shouldn't index page route be home/

Thank you for the help as always!
 
Oh, the index page route setting only applies to pages served by XF itself. It won't work for files served by the web server directly.
 

Similar threads

Back
Top Bottom