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

XF 1.4 Route Filter "//"

Discussion in 'XenForo Questions and Support' started by Valhalla, Jan 7, 2015.

  1. Valhalla

    Valhalla Well-Known Member

    I have a route filter set up as follows:

    Screen Shot 2015-01-07 at 16.49.32.png

    If I visit "../chat", I get routed to "../pages/chat" as expected, but the URL is shown as "../chat//" (note the two slashes).

    Am I able to create this route without the proceeding two slashes?

    Could it be related to server configuration?

    Last edited: Jan 7, 2015
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Have you tried the replace as just chat (without the trailing slash)?
  3. Valhalla

    Valhalla Well-Known Member

    Yes, and it saves without error, but when I edit the route again, it seems the slash has been added.

    (I also tried deleting that route and adding it as new.)
  4. Mike

    Mike XenForo Developer Staff Member

    Your find route should have the trailing slash.
  5. Valhalla

    Valhalla Well-Known Member

    That worked, thank you.

Share This Page