• Resolved AndrewFoster

    (@bosyak5)


    Hello, I included bread crumbs in Yoast, and they suddenly began to show the wrong category on each single post (screen)
    Example page. There should be a category of Games, not Vocals. The Games category has ID 12, Vocals have 18. The correct category in the breadcrumbs records only for posts of ID 1 category Acrobatics.

    Why is that? How to fix it?

    – I’m using the most recent Yoast
    – I’m using last WordPress
    – I have installed Yoast Test Helper plugin and clicked Reset Indexables & Migrations, Run SEO data optimization
    – I’m implementing breadcrumbs via your PHP code:

    <?php
    if ( function_exists(‘yoast_breadcrumb’) ) {
    yoast_breadcrumb( ‘<p id=”breadcrumbs”>’,'</p>’ );
    }
    ?>

    upd: I noticed that if i change the category of the post to any other, and then return the desired one back, then the problem is solved. But there are about 500 posts, I can’t do it manually.

    • This topic was modified 2 years, 7 months ago by AndrewFoster.
    • This topic was modified 2 years, 7 months ago by AndrewFoster. Reason: update

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey @bosyak5,

    Thank you so much for using Yoast SEO and for reaching out.

    Reading up your troubleshooting steps, it sounds like you already found our regular troubleshooting steps.

    It’s odd that the breadcrumbs do update the breadcrumbs after updating the category and then change it back. If you reindex our indexables and then rerun the optimization process, it should also be updated. Did you manage to complete the SEO data optimization afterward?

    I opened up your site, and see you are using a custom theme. If you were to temporarily use a default theme and implement our breadcrumbs PHP snippet in there, do you get the same result?

    This thread was marked resolved due to a lack of activity, but you’re always welcome to re-open the topic. Please read this post before opening a new request.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wrong category in Yoast bread crumbs?’ is closed to new replies.