custom taxonomy URL and slug not matching breadcrumbs
-
First of all let me give you all the specs for https://www.scalelab.gr
Twenty-twenty child theme. Twentig transparent header with sticky menu activated.
The only breadcrumbs activated are the YOAST breadcrumbs.
No other breadcrumb plugin installed or activated.
In order to display the breadcrumbs I have added the following code into template-parts/header/site-nav.phpif ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb( '<p id="breadcrumbs">','</p>' ); }
permalink structure is:?https://scalelab.gr/%category%/%postname%/
I have created a custom taxonomy (not custom post type) for regular posts called “scale” and the urls are working just as expected:
URL: https://scalelab.gr/scale/1_350/
breadcrumbs for custom post type:
home / 1/350 (wrong)
instead of
home / scale / 1/350 (correct)
I have checked YOAST SEO->search appearance->taxonomies-> Category URLs
Remove the categories prefix? (REMOVE)I have tried the ?Yoast Test Helper?plugin as per your suggestions in similar posts:
1. Install & activate the?Yoast Test Helper?plugin
2. Go to Tools > Yoast Test
3. Locate the Yoast SEO section and click on the?‘Reset indexables tables & migrations’, ‘Reset Prominent words calculation’, and ‘Reset Internal link counter’?buttons. After each click, the page will reload to confirm that the specific reset was successful.
4. Go to SEO > Tools, and under SEO data, click the “Start SEO data optimization” button to allow Yoast to rescan your content.Not solving the problem
Any suggestions on syncing url and breadcrumbs for custom taxonomies?
The page I need help with: [log in to see the link]
- The topic ‘custom taxonomy URL and slug not matching breadcrumbs’ is closed to new replies.