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

Friendly URL question...

Discussion in 'XenForo Questions and Support' started by Rob, Mar 21, 2012.

  1. Rob

    Rob Well-Known Member

    How do i get forums included in front of urls?

    I want urls like this:-


    but I have threads like this:-



  2. Brogan

    Brogan XenForo Moderator Staff Member

    The first forums part of the URL is the installation directory.
    Here for example it is community/threads/friendly-url-question.29485/

    The second forums part of the URL is when viewing an actual forum.
    For example: community/forums/xenforo-questions-and-support.25/

    So if the installation directory was forums instead of community, forums would appear like so:
  3. Rob

    Rob Well-Known Member

    ack... ok.

    I guess what I want is to include parent routes in the URL.

    Ie. a thread belongs to a forum. I'm installed at the root so I cant do that and I wouldnt want forums/forums in the url anyway.
  4. Brogan

    Brogan XenForo Moderator Staff Member

    The route defines the content type so /forums/threads/thread-title.1 wouldn't really make much sense.

    I presume you mean you want a thread to belong to a specific forum?
    In which case you want the URL to be something like this?


    You would need an add-on to do that.
  5. Rob

    Rob Well-Known Member

    Ok, not a problem, its no huge deal just thought I would ask. your suggestion (needing an add-on) would be an improvement.

Share This Page