Breadcrumbs error in AMP?

#69497
  • Resolved Nitish Lakra
    Rank Math free

    I am getting this message in search console “Either ‘name’ or ‘item.name’ should be specified”, I have turned off breadcrumbs for the AMP version of the site to deal with the problem, still facing the problem.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Alberto
    Rank Math business

    Hello,

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

    Could you share in the Sensitive Data section some of the affected pages so we can check it for you?

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

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

    Thank you.

    Alberto
    Rank Math business

    Hello,

    It seems the issue you see it is due to your AMP plugin is adding breadcrumbs to the homepage, so the internal structure of the breadcrumbs in the homepage is like this:

    “Homepage > AMP”

    When that AMP is the Homepage itself so it generates an error. You should disable the Breadcrumbs on the Homepage (also, there is no point having them in the Homepage, since it is only useful for Google to know how to reach a post from the homepage).

    Looking forward to help you.

    I have disabled the Breadcrumbs on the Home page, but the problem still remains, I contact with the AMP Plugin support but my problem is not resolved, please assist me what should I Do next, I am confused how to solve the problem, I have tried many things, What should I do next.

    Hello,

    Which AMP plugin are you using? If it’s AMP for WP, please make sure you have selected Rank math SEO in the AMP SEO settings and enable the AMP module in Rank math dashboard.

    If you are using the php function in your template files to add breadcrumbs, please mdify it as follows to exclude hompage:

    
    if( function_exists( 'rank_math_get_breadcrumbs') && !is_home() && !is_front_page()){
    rank_math_the_breadcrumbs();
    }
    

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    I have added the code in my Primary theme in the header.php, which code you have given. But the error is still showing, for the AMP. I have added some screenshots can you checkout, which may helpful for you to understand my problem and helpful to resolve my problem. Thank You.

    • This reply was modified 4 years, 3 months ago by Nitish Lakra.
    Alberto
    Rank Math business

    Hello,

    In that case, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

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

    Thank you.

    Hello,

    Please note that the code we provided only takes effect on the desktop theme. For the AMP theme, you need to contact your AMP plugin provider and ask them for assistance on how to disable breadcrumbs Schema on the homepage with AMP.

    Hope that helps.

    I have contact with the AMP developer and they test my site home page source code in rich result and they find there are no breadcrumbs on the home page, google showing me the cache page of my home page site, that’s I am getting this error. Thank you guys for your help.

    Alberto
    Rank Math business

    Hello Nitish,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

You must be logged in to reply to this ticket.