Page jumps (anchors) don't jump - they load a new page (2 posts)

  1. marcomancosu
    Posted 4 years ago #


    I'm trying to create anchor links to chapters/text inside my post.

    I followed the instructions here:
    and here:

    and I created the proper code in the html view, using the
    Link code: VisibleTextLeadingToTarget
    and the code for the Invisible target:

    What happens is that the anchors work but they open a new page - opening it in the right place where I had put the anchor.
    But what I want is them just to jump tp the anchor in the page - not to open a new tab and load again the whole page.

    So, it looks like that even if I create the code just using as text for the href "#anchor", wordpress changes it in "nameofwebsite.it/#anchor", and this brings to the loading of a new page rather than just the jumping to the anchor in the same page already loaded.

    If you want to see an example in my website, check this page:
    The code I have added in the html view in wordpress is:
    Metodo 1
    but what I see in the source code once the page is loaded is
    Metodo 1

    Could you please help me to understand why wordpress is adding the whole url to the anchor?????


  2. MarceFX
    Posted 3 years ago #


    Did you fix it? I'm suffering the same issue:

    This is what I see on the WP HTML editor (article link):

    <a href="#quees">¿Qué es Dropbox?</a>

    But this is what it actually loads up on the browser:

    <p><a target="_blank" href="#quees">¿Qué es Dropbox?</a><br />

    I have no idea why the "blank" atribute is added. I've also checked all plugings, but I think any of them is causing this. I have another post pages with internal links. None of them is behaving the same way. It looks like it only affects anchor tags.

    Any ideas?

    Thank you

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.