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

XF 1.2 Route Filters Advice

Discussion in 'XenForo Questions and Support' started by mrb1972, Aug 12, 2013.

  1. mrb1972

    mrb1972 Active Member

    I currently use XF 1.13 with the Route Changer add-on , I am just testing the new route filters function in 1.2 before I upgrade but am having trouble duplicating my routes in 1.2

    My site is installed in the root with XenPorta, my current Route Changer settings are:
    1.13: portal > index - (I have set the Index Page Route to portal/ in 1.2, this works fine)

    Now I need to change the following -

    http://mysite/index.php?forums/ to http://mysite/index.php?forum/
    http://mysite/index.php?forums/main-forum.2/ to http://mysite/index.php?community/main-forum.2/

    Is this possible in the new 1.2 Route Filters ?

  2. JulianD

    JulianD Well-Known Member

    Yes, it is perfectly doable in 1.2 route filters
  3. mrb1972

    mrb1972 Active Member

    ok, anyone know how because I can't get it to work
  4. Brogan

    Brogan XenForo Moderator Staff Member

  5. JulianD

    JulianD Well-Known Member

    Give me a few minutes because after taking a second look, I now have my doubts.
  6. mrb1972

    mrb1972 Active Member

  7. JulianD

    JulianD Well-Known Member

    Alright I got it working on my test board:

    forums > forum
    forums/main-forum.2/ > community/main-forum.2/
    portal > index
    RobParker likes this.
  8. RobParker

    RobParker Well-Known Member

    I don't think he's asking about xenporta as he seems to have that working. It's the forums and community bit he wanted help with.
  9. mrb1972

    mrb1972 Active Member

    Ok that seems to work, however I need to make the /main-forum.2/ part a wildcard, is that possible?
  10. JulianD

    JulianD Well-Known Member

    forums/{forum}/ > community/{forum}/
  11. mrb1972

    mrb1972 Active Member

    Brilliant, that works perfectly.. thanks very much
    JulianD likes this.

Share This Page