• Resolved gorfeas

    (@gorfeas)


    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.php

    if ( 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]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @gorfeas

    Thanks for reaching out regarding your taxonomy and breadcrumbs. By default, the breadcrumb will follow this pattern – Home > Custom Post Type > Taxonomy > Post. The taxonomy needs to be assigned to a CPT, and the CPT has to be included in the breadcrumbs path; it can’t be omitted.

    However, you or your developer can customize the plugin to suit your specific usecase.

    Thread Starter gorfeas

    (@gorfeas)

    Thank you for the answer, so Custom taxonomy assigned to regular post type doesn’t work by default. I suggest you consider it as a new feature.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘custom taxonomy URL and slug not matching breadcrumbs’ is closed to new replies.