• We noticed on one site that when moving mouse cursor on links, sometimes hover information show page id link, and sometimes post name url. Post name url is correct one.

    Nothing is changed and now, I think after last update, some links aren’t right. Actual link works, only hover on information is incorrect.

    Problematic page (one of them) is: https://animalia.fi/alueosastot/
    If I put mouse cursor over H?meenlinna, link shows page-id, but after clicking the link, url is plain text page name.

    I’m planning to update that site tomorrow evening to latest WP. Can I fix that any other way than clicking every page and modify actual link text inside a href?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Without access to the backend to see the code, I can only guess that whoever created the content copied the page id and pasted it in as the link to the page and some links copied the url. Looks like a manual change needs to be done.

    The link to H?meenlinna is encoded in html as:
    <a href="/?page_id=16460">H?meenlinna</a>

    And the next one, for Joensuu is given as:
    <a href="https://www.animalia.fi/alueosastot/joensuu">Joensuu</a>

    It’s possible that the permalink structure of the site has changed at some point, and some links were added before.

    This is probably easiest to fix manually. If the same links are given in the “wrong” format on many pages, then you might consider some “better search&replace” plugin (there are a few of them). Just make sure you’ve made a good database backup first.

    Thread Starter slamtilt

    (@slamtilt)

    Ok. That might be the reason. I just have to fix those manually, few links now and then.

    I don’t think that anyone who visits on that site notice that at all. Only then, when someone is copying link and paste it to else where.

    WP doesn’t change links if they are “hand made” when I’m changing URL-type, I think.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hoverlink description doesn’t match link’ is closed to new replies.