• boxestim

    (@boxestim)


    My links were just working fine, I guess until the update to wordpress 4.8. There is a problem with buttons in use in a sidebar that link to internal pages on my website. When you click the button it does not take you to the destination that I entered after a href”….” but it adds that URL after the page it is already on.

    Example:
    you are on a page f.e. : http://www.noroadback.com/destinations and you click in the sidebar on “Vietnam”. It is supposed to take you to http://www.noroadback.com/vietnam but instead it links you to http://www.noroadback.com/destinations/www.noroadback.com/vietnam, which ofcourse does not work! How can this be (fixed)?

    As code I used:
    a href="www.noroadback.com/cities"

    Can someone please help? my website is http://www.noroadback.com, I wanted to put the whole html code in here but the forum is automatically reading the code distorting the whole lines so that is not particularly helpfull

    This is the HTML code:

    <div class="icon-container"><a href="www.noroadback.com/cities"><img src="http://www.noroadback.com/wp-content/uploads/2017/06/CitiesButton.png" /></a>
    <p id="citiesicontext">Cities</p>
    • This topic was modified 9 years ago by boxestim.
    • This topic was modified 9 years ago by boxestim.
    • This topic was modified 9 years ago by boxestim.
    • This topic was modified 9 years ago by boxestim.
    • This topic was modified 9 years ago by Steven Stern (sterndata). Reason: put code in backticks
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Your link’s href should begin with http://. Otherwise, it’s a local link.

    Thread Starter boxestim

    (@boxestim)

    Cannot believe it was that easy. Thank you Steve! Finding out I am even more of a html/css noob than I thought I was.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘(Internal) Link not loading in page correctly’ is closed to new replies.