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

Having an issue with my URLs

Discussion in 'Troubleshooting and Problems' started by Feanux, Dec 6, 2012.

  1. Feanux

    Feanux Member

    I'm having an issue with my URLs and I'm not sure exactly how to fix it.

    Right now, when going into a node on my forums the URL shows up similar to this:

    www.website.com/forums/forums/node/

    I can't figure out how to make it so the URL would be similar to:

    www.website.com/forums/node/

    I basically want to just remove that extra /forums/ in there - any idea how to go about that?

    This is using the "Full Friendly URLs" feature, before that it should show up as www.website.com/forums/index.php?forums/node/
     
  2. Slavik

    Slavik XenForo Moderator Staff Member

    What is your board url set to in your basic board options?
     
  3. Feanux

    Feanux Member

  4. RobParker

    RobParker Well-Known Member

    Forums is a route (like "threads") as well as the directory in your case which is why it's doubling up. Lots of threads/discussions on this if you search.
     
    Jake Bunce likes this.
  5. Feanux

    Feanux Member

    What would be the best option in my case then? Moving it a level up seems like it might cause problems.
     
  6. Brandon Sheley

    Brandon Sheley Well-Known Member

    That's what I would do unless you have plans for your root url for something (like a blog or other pages)
    You would need to edit your board options to reflect the updated URL.
     
    Jake Bunce likes this.
  7. Feanux

    Feanux Member

    Yeah that's the sad part is that the root folder is already used for a blog. Part of the blog links to our discussion forum (in the directory /forums).

    Would there be a way to fix this through .htaccess?
     
  8. RobParker

    RobParker Well-Known Member

    Jake has an Addon that will change the route name from forums to something else which might be a solution for you?
     
    Jake Bunce likes this.
  9. Feanux

    Feanux Member

    I have that installed and changed the route to /board but then it still looked weird being www.website.com/forums/board

    Thanks though :p
     
  10. RobParker

    RobParker Well-Known Member

    Change forums to community like they have on here?
     
    Jake Bunce likes this.
  11. Feanux

    Feanux Member

  12. RobParker

    RobParker Well-Known Member

    I meant /community/forums/ like it is on here.
     
    Jake Bunce likes this.
  13. Feanux

    Feanux Member

    So change the directory?
     
  14. RobParker

    RobParker Well-Known Member

    Yeah, but you'd still have /directory_name/forums/
     
    Jake Bunce likes this.
  15. Feanux

    Feanux Member

    Exactly, which I'm trying to avoid :S
     

Share This Page