• Resolved lozzag123

    (@lozzag123)


    Hi,

    I am trying to set up a Jump to anchor to another one of my posts. Specifically the part “how to cut a chicken wing”. I have followed the instructions on the wordpress site, however when you click on the link it just goes to the top of the page?

    Any ideas?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Kartik Goswami

    (@kartikgoswami)

    First of all, I cannot find the anchor “how to cut a chicken wing” in the URL you have shared here.

    I assume this anchor “handy guide to cutting chicken wings” is what you are talking about. And you want it to redirect to the section “?? HOW DO YOU CUT A CHICKEN WING?” on this page: “BAKED SALT & PEPPER CHICKEN WINGS

    On the anchor, you have used the URL with “#chicken-wing” while the section “HOW DO YOU CUT A CHICKEN WING?” (on your target page) contains something like id=”%f0%9f%a4%94-how-do-you-cut-a-chicken-wing”

    You need to use the same words on both of these pages, then only it will work as you expect it to work.

    Moreover, try to avoid this: “%f0%9f%a4%94-” Here the H2 ID should not even contain the hashtag. You only need the hashtag when you add a link to that page from “AIR FRYER” page.

    Thread Starter lozzag123

    (@lozzag123)

    Thanks for your reply.

    Sorry yes I want to link the “handy guide to cutting chicken wings” to the section “?HOW DO YOU CUT A CHICKEN WING?” on this page: “BAKED SALT & PEPPER CHICKEN WINGS

    Sorry I am not very technical so don’t understand “while the section “HOW DO YOU CUT A CHICKEN WING?” (on your target page) contains something like?id=”%f0%9f%a4%94-how-do-you-cut-a-chicken-wing”

    I have added a screenshot below, I thought I had only added “chicken-wing” to the HTML anchor on the section for how to cut a chicken wing?

    Apologies for my ignorance!

    Kartik Goswami

    (@kartikgoswami)

    You have properly added the HTML anchor as per the screenshot. It should work.

    However, the link is still not redirecting properly. It still shows the old one: https://tinyurl.com/2yyk4jzh

    Can you try clearing the cache? – If it still doesn’t work…

    You can do this to make it work:

    Remove the thinking emoji from the heading. It is generating this code: %f0%9f%a4%94

    And then simply use the rest of the ready-made HTML anchor (how-do-you-cut-a-chicken-wing) here: “handy guide to cutting chicken wings”

    Thread Starter lozzag123

    (@lozzag123)

    Taking out the emoji worked! Thank you so much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Jump to Anchor not working’ is closed to new replies.