1. 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

Discussion in 'XenForo Questions and Support' started by estranged, Sep 10, 2014.

  1. estranged

    estranged Well-Known Member

    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: Sep 11, 2014
  2. Mike

    Mike XenForo Developer Staff Member

  3. estranged

    estranged Well-Known Member

    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.
     
  4. Mike

    Mike XenForo Developer Staff Member

    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.
     
    estranged likes this.

Share This Page