• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Index Page Route?

|Jordan|

Active member
#1
Is it possible to set the Index Page Route to a non-XenForo page?

I'm trying to set up a website in php with xenforo in the same directory (and same domain), there will be no filename conflicts, but im having problems getting domain.com/ to load the php website. Instead it shows "Route main.php/ could not be found." (my php page is named main.php)
 

Jake Bunce

XenForo moderator
Staff member
#2
No. It must be a route within the software.

Enable debug mode by adding this line to the library/config.php file:

Code:
$config['debug'] = 1;
That will give you access to the "Development" tab in the Admin CP where you can create a route. But this also requires you to create a route handler and controller which gets into the programming side of things.