Sidebar Link and Comment Problem (5 posts)

  1. Greenskull
    Posted 9 years ago #

    Hey everyone. My site is http://www.xboxct.com and there is a problem on it. For some reason, when you click a link on the sidebar such as "About XCT", then press one of the tabs at the top such as "Enter Tournament", it goes to this:

    when it should just be: http://www.xboxct.com/enter-tournament.

    But for some reason, this problem doesn't happen when you click "Tournament: DOA 4".

    The same problem happens when you go to a comment page also.

    I made sure nothing has a parent so why is this happening? Thanks.

  2. moshu
    Posted 9 years ago #

    A quick googling for relative path vs. absolute path should enlighten you...

    IN the top menu you have lines like this:
    <li><a href="enter-tournament" title="">Enter Tournament</a></li>

    that link will be added to the URL of whatever page you are on, e.g.

  3. Greenskull
    Posted 9 years ago #

    ahhhh so should I change that to http://www.xboxct.com/enter-tournament?

  4. moshu
    Posted 9 years ago #

    or try with a leading slash:

  5. Greenskull
    Posted 9 years ago #

    thanks a ton

Topic Closed

This topic has been closed to new replies.

About this Topic