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

XF 1.5 Route filter adding extra slash

Discussion in 'XenForo Questions and Support' started by Mr Lucky, Oct 18, 2016.

  1. Mr Lucky

    Mr Lucky Well-Known Member

    I have page whose URL is albums

    I have a route filter pages/albums to be replaced with albums

    However when I save the route filter a slash appears at the end of albums , ie albums

    Worse, when viewing the page the URL has a double sass at the end.

    What am I doing wrong?
     
  2. Dadparvar

    Dadparvar Well-Known Member

    Replace pages/albums/ (pay attention to / at the end) with albums (this will remove second slash problem)
     
  3. Mr Lucky

    Mr Lucky Well-Known Member

    Thanks, yes. There is still one slash though. Every time I save albums without a slash, one gets put on the end.
     
  4. Martok

    Martok Well-Known Member

    So you are ending up with yoursite.com/albums/ ?

    If so, that is correct, you can't remove the trailing slash.
     
  5. Mr Lucky

    Mr Lucky Well-Known Member

    OK, thanks.
     
  6. Petros

    Petros Member

    @Mr Lucky to remove the slash you can use the addon Shorter Routes by Waindigo
    uncheck.PNG


    Uncheck the "Always include forward slash" and vouala :D
     

Share This Page