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

XF 1.3 Ignore /forums/ and /threads/ in URLs

Discussion in 'XenForo Questions and Support' started by imthebest, Jul 2, 2014.

  1. imthebest

    imthebest Formerly Super120

    I have installed XF on mydomain.com/forum/. The problem is that whenever I access a forum the URL becomes: mydomain.com/forum/forums/test.1. Also when entering a thread the URL becomes: mydomain.com/forum/threads/random.2

    In the first case, I want the URL to become: mydomain.com/forum/test.1 (ignore "forums")
    In the second case, I want the URL to become: mydomain.com/forum/random.2 (ignore "threads")

    I know that I can rename "forums" and "threads" using route filtering but at this case I don't want to rename anything, I just want to remove those from my URL structure. Is this possible?
     
    Last edited: Jul 2, 2014
  2. Mike

    Mike XenForo Developer Staff Member

    You can't. From your own example, how would you know whether it's a forum or a thread?
     
    Liam W and Amaury like this.
  3. Eagle

    Eagle Well-Known Member

Share This Page