Breadcrumbs issue in Strutured Data Test Tool

#18564
  • Resolved Will
    Rank Math free

    HI,

    I face an issue with Breadcrumbs in the structured data tool and search console throws errors too :

    Everything is fine until I test a simple page of the website which is accessible through

    url/page/number of the page/

    Then it throws an error about a “missing a name or item.name property”, which is reflected by an empty field within the breadcrumbs themselves like this :

    home – – page X

    Any idea ? all other links test fine in the testing tool though (links to posts, to categories, to tags, etc…)

    • This topic was modified 4 years, 5 months ago by Will.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Hello,

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

    Would you mind sharing a link to one of the affected pages/posts so that we can advise further?

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Will
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Thank you for getting back to us.

    I have raised these findings with our dev team for closer investigation and we will be getting back to you in a short while.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Todd
    Rank Math free

    Hello,

    We tested the page and we see the error.

    Could you please confirm if you are using Rank Math breadcrumbs or your theme’s?

    If you aren’t sure, please disable Rank Math temporarily and run the test again. If the issue is still there – that means you are using your theme’s or some other plugin for the breadcrumbs.

    If you need assistance switching over to Rank Math’s breadcrumbs, we just need to know which theme you are using. If it is a paid theme, please share the theme files on s******@r*********** with a reference to this ticket.

    We really look forward to hearing back from you.

    Will
    Rank Math free

    I am using Rank Math breadcrumbs, integrated into the theme using the php code you provide.
    If I desactivate Rank Math, nop error because no breadcrumbs which means your breadcrumbs are not overlapping with some other ones.

    Will
    Rank Math free

    it looks like breadcrumbs do not attribute a proper slug to paginated elements :
    it should be something like :

    Home / Pages / Page 3

    Not

    Home // Page 3

    and there is no option in general settings to define one.

    Hello,

    Rank Math doesn’t add Breadcrumb schema on front page as it’s not needed. Are you using any filter/code to show the Breadcrumbs on the homepage?

    Looking forward to helping you. Thank you.

    Will
    Rank Math free

    Nope, only the php code you provide which is located into footer of the theme:

    <?php if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs(); ?>

    Todd
    Rank Math free

    Hi Will,

    That is ideally to be placed only on the single.php file since on the homepage – it doesn’t make much sense. eg. (Home > BLANK)

    Please remove it from the homepage and use it only on single.php or page.php files.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Will
    Rank Math free

    Hi,

    Thanks for your answer.

    Actually, what I was asking about is regarding the structured data code generated by Rank Math SEO whether the breadcrumbs are displayed or not on the wesbite.

    In any case, when the option is activated inside the plugin settings, the plugin creates a structured data code, which is correct and good, even for paginated pages which is the problem here.

    it’s this structured data code which throws an error with a “missing name or item.name” field, because the structured data code fails to populate this specific field in the case of paginated elements. it works in any other situation.

    I see only two possibilities here : populate the field with a mention like ie “page” or desactivate the structured data generation when it’s related to paginated elements. The plugin does not allow any of those solutions to be implemented.

    Ali
    Rank Math free

    We are also facing problem on my site the error message show of (Breadcrumbs) Missing field “item” on my site: https://www.wishhow.com/huawei/ and really don’t no how to solve this problem I also read many articles to find solutions, but I totally failed not to find its solution.

    Hello,

    Rank Math doesn’t add a BreadcrumbList schema on the homepage. Here is a screencast from my setup: https://i.rankmath.com/mDvvQA.

    I am not sure, how it is showing on your homepage. I would love to take a look and fix the issue on your site if you could share your site’s admin access in the Sensitive Data Section.

    Looking forward to helping you. Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 12 replies - 1 through 12 (of 12 total)

The ticket ‘Breadcrumbs issue in Strutured Data Test Tool’ is closed to new replies.