WordPress.org

Ready to get started?Download WordPress

Forums

Sidebar Link and Comment Problem (5 posts)

  1. Greenskull
    Member
    Posted 7 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:

    http://www.xboxct.com/about-xct/enter-tournament
    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
    Member
    Posted 7 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.
    example.com/page1/subpage1/subsubpage1/+thelinkabove

  3. Greenskull
    Member
    Posted 7 years ago #

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

  4. moshu
    Member
    Posted 7 years ago #

    or try with a leading slash:
    /yourlink

  5. Greenskull
    Member
    Posted 7 years ago #

    thanks a ton

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags