Support » Plugin: Rank Math SEO » No category in breadcrumbs

  • Resolved plimfec

    (@plimfec)


    Hi there,

    There is no ‘category’ is my breadcrumb trail. Just empty space.
    My settings:

    Activated this by the switch:
    – Rank Math > General settings > Breadcrumbs > Show categories

    Selected ‘Categories’ here:
    – Rank Math > Titles & Meta > Post Types > Posts > Primary Taxonomy > Categories

    Any ideas how to force Rank Math to show categories?

    Thank you in advance,
    Plimfec

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter plimfec

    (@plimfec)

    I switched off the Rank Math breadcrumbs for now, because last hours I got several emails from Google Search Console about problems (errors).

    I tested my pages in https://search.google.com/test/rich-results with the Rank Math breadcrumbs switched on and got these errors (screenshot). All related to the categories problem, as far as I can understand (for posts as well as single product pages).

    I switched off the Rank Math breadcrumbs and Google did not show any errors anymore.

    If you wish, I will switch the Rank Math breadcrums back on again. Preferably not for too long, to prevent Google giving penalties for my shop pages..

    Thanks!

    PS: The breadcrumbs you see on my website now, come from the plugin Breadcrumb NavXT (pages, posts) and Woocommerce (product pages).

    Plugin Author Rank Math

    (@rankmath)

    Hello @plimfec,

    Thank you for contacting the support and sorry for any inconvenience that might have been caused due to that.

    It seems to be working fine on our end.
    https://i.rankmath.com/bRrYR1

    Assuming you are using the latest version of all the plugins, themes, and WordPress (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Looking forward to helping you.

    Thread Starter plimfec

    (@plimfec)

    Hi @rankmath,

    Thanks for your reply.

    Like I wrote in my last message:
    The breadcrumbs you see on my website right now, come from the plugin Breadcrumb NavXT (pages, posts) and Woocommerce (product pages).

    That’s why it is looking fine on your end at the moment I suppose: the current breadcrumbs are not handled by Rank Math. I had to do this to prevent too many Google penalties for my shop pages and of course for my visitors.

    According to your first clip: yes, all settings are (and were) in the right place. Like I wrote:

    Activated by the switch:
    – Rank Math > General settings > Breadcrumbs > Show categories

    Selected ‘Categories’ here:
    – Rank Math > Titles & Meta > Post Types > Posts > Primary Taxonomy > Categories`

    I made the child category primary as well. But even the main category is not displayed in the Rank Math breadcrumbs (not for posts and not for products).

    When there is no child category and just one main category, it’s not displayed neither.

    Yes, WordPress, template and all plugins are updated to the last versions.

    I ran the recommended plugin Site Health. Site Health Status gave me ‘no issues’. While in troubleshooting mode I got nothing than ‘site failures’. I therefore could not use the plugin. I couldn’t even switch on the theme twentytwentyone..

    Last days I validated again in Google Search Console (with Rank Math plugin running but with the Rank Math breadcrumbs switched off), and today I received the message that the validation had (partly) failed.

    Please look at the errors I posted before: https://i.imgur.com/Z7n0VGX.png

    The pages were crawled by Google while the Rank Math breadcrumbs were switched off. That’s very weird in my opinion. But apparently the Rank Math schema still is picked up by Google?

    All errors are about empty fields for the category (main and child) in the Rank Math section inside the code.

    Google Search Console errors:

    Failed validation (today):
    – Either ‘name’ or ‘item.name’ should be specified
    – Invalid object type for field ‘item’
    – Incorrect value type ‘@id’

    Still in validation today:
    – data-vocabulary.org schema deprecated
    – Missing field ‘itemListElement’

    I hope you can find out why Google is not detecting (main and child) categories in the Rank Math code / schema.

    Thanks for your time again.

    Plugin Author Rank Math

    (@rankmath)

    Hello @plimfec,

    The screencast we shared was from our local site where NavXT plugin was not active.

    Is there a possibility of you opening a topic on our website so we can take a closer look as it’s working fine on our end?

    Looking forward to helping you. Thank you.

    Thread Starter plimfec

    (@plimfec)

    Hi @rankmath,

    Yes, I understand your screencast was not taken from my own Dashboard, that would be quite alarming, wouldn’t it? 😉

    I thought you visited my front-end and concluded “it’s working fine on our end”, my misunderstanding.

    Sure, I can open a topic on your website about the issue, no problem.

    Thank you and see you there,
    Plimfec

    Thread Starter plimfec

    (@plimfec)

    For others facing the same problem:

    I was using a function in my child theme’s functions.php to alphabetize product meta ‘categories’ on single product pages and apparently that function was causing the problems. Maybe there was a flaw in the code.

    After removing the function from my functions.php, Rank Math did display both main and child categories in the breadcrumbs.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘No category in breadcrumbs’ is closed to new replies.