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

XF 1.3 How to change Index Page Route?

ibrian

Well-known member
#1
In Options > Basic Board Information there's an option for the Index Page Route.

Currently it's set to "forums/"

However, I would like my content to display as "forum/" so that I get URLs such as:

/forum/general-board/
/forum/a-discussion.123/

This is mainly so that I can redirect more easily an existing vb3 forum which uses "/forum" in it's structure.

However, when I change the option in the XF admin panel to "forum/" I get error messages for any link, and I notice the navtab still has a link for "/forums/"

Is it possible to have "/forum/" instead of "/forums/" as part of the URL structure?

I did search for similar threads, but they tended to be about using a portal, which is not what I'm doing.
 

Mike

XenForo developer
Staff member
#2
That's not what the index page route controls. It controls what is output as the index page.

What you want is to changes forums/ to forum/ using a route filter.