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

XF 1.4 Remove ID from URL

#1
How can I remove ID from url like this:

xenforo.com/community/forums/styling-and-customization-questions.47
to
xenforo.com/community/forums/styling-and-customization-questions

including all pages, categories etc.

On my own forum, not here :D
 

Chris D

XenForo developer
Staff member
#2
You have to do it manually for each forum.

Each forum has a "URL Portion" setting which is blank by default. That URL Portion effectively becomes the ID of the forum.

e.g. Our Announcements forum has a URL of https://xenforo.com/community/forums/announcements/

Our URL Portion for that forum is "announcements".

Although this may seem like a good idea, do bear in mind that changing the URL Portion (or removing it) will effectively cause all links pointing at it to be broken. (You would have to handle that with manual redirects or Route Filters if that happened).