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

XF 1.5 Removing /forums in url

Discussion in 'XenForo Questions and Support' started by Bernando Bona Tius, Apr 6, 2016.

  1. As stated on the title
    how to remove the /forums in url
    thank you
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Do you mean the forums as in this URL: https://xenforo.com/community/forums/xenforo-questions-and-support.25/

    Or is your installation in the /forums/ directory on the server?

    You can't remove it from the URL as forums is a route in the code (it can be renamed though using a route filter).

    You can though move the installation to the domain root on the server, if it is currently in a directory.
  3. I install xenforo on subdomain forum.myforum.com
    but the url structure goes into forum.myforum.com/forums
    So i want the url goes into forum.myforum.com only (without that /forums)
    thanks brogan
  4. Mr Lucky

    Mr Lucky Well-Known Member

    This should only apply to the forum index, not anything else, e.g. a thread would not have /forums/ in the URL.

    If you want to have your forum list as the home page, then just add forums/ as the Index page route.

    Then your forum list will be at forum.myforum.com/ instead of forum.myforum.com/forums
  5. But what about
    when i click the forum category
    let's say
    nah, i really want delete that /forums too inside that url pattern
  6. Brogan

    Brogan XenForo Moderator Staff Member

    As already explained, that can't be removed, it is a core route.

Share This Page