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

XF 1.4 question about route prefixes

estranged

Well-known member
#1
I have managed to change most of the urls using route prefixes

But I can't change the page-x#post-xxx part in an url.

Can you help me with this?

Thank you.
 
Last edited:

estranged

Well-known member
#3
Thanks for the reply. Yes, I have managed to change the "page" part, That's why I edited my post.

Now the only part I can't edit no matter how I tried is the "post" portion starting with #

I don't need to change the anchor. Only the "post" part.

threads/{name:digit}/#post-

This and a few other variations I tried, don't work.
 

Mike

XenForo developer
Staff member
#4
By the anchor, I meant anything from the # onwards -- it can't be changed. A few reasons, but it isn't sent to the server when a request is made so it couldn't be translated back.