Misssing “name” or “item.name” in the English version of my site

#70673
  • Resolved Trembol
    Rank Math free

    Hi, i’m using DIVI EXTRA for my Spanish page and i have translated it with WPML to English. It’s been working for a few weeks and just yesterday i received a notification by GOOGLE SEARCH CONSOLE, that the site in English (https://trembol.com/en) is missing its “name” or “item.name” and can not be found. Probably it’s very simple, but i don’t really know where i can configure that “name” for the page in Rank Math

    The concrete code where the name is missing according to Google Search console is: {“@type”:”ListItem”,”position”:2,”item”:{“@id”:””,”name”:””}}]}

    I attach some screenshots from Google Search Console error and code from my page.

    Seems like the issue related to the breadcrumbs code that Rank Math is generating however I do not see any setting where this code can be adjusted.

    I am not sure if this is intended however the plugin generating 2 items, 1st one is the correct one as it has name and URL of the homepage. The 2nd one is empty since I am on the homepage and it should not be generated there.

    Can you help me with it?
    Thanks a lot

Viewing 15 replies - 1 through 15 (of 16 total)
  • Hello,

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

    please note that you should disable the breadcrumbs on the homepage.

    It serves no purpose and there is not enough information for breadcrumbs to work correctly on the homepage.

    That is why you are getting the error message and that is why we recommend disabling breadcrumbs on the homepage.

    If you added the breadcrumb by shortcode, please remove the code from your home page. If you added to your template files, you can modify the breadcrumb code to the following to prevent the display of the breadcrumbs on the homepage when your either have a static homepage or the homepage is set to show blog posts:

    
    <?php if (function_exists('rank_math_the_breadcrumbs') && !is_home() && !
    

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

    ​​​​​​​

    Hello,

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

    Thank you.

    Dear Michael, thanks for your answer

    I’ve never configured breadcrumbs in my homepage (at least on purpose). I played around with RankMath breadcrumbs a few weeks ago, activating it and looking for a place to add the code (in particular header.php), but i finally didn’t add it anywhere and deactivated the breadcrumbs option (please see screenshot with current status).

    I don’t really know where to look.
    BTW, the code you kindly shared is incomplete: <?php if (function_exists(‘rank_math_the_breadcrumbs’) && !is_home() && !

    If i add it to my custom CSS will it fix the issue?

    Thanks again

    Hello,

    According to your page Schema, it appears your homepage does have Breadcrumbs added. The following is the complete code:

    
    <?php if (function_exists('rank_math_the_breadcrumbs') && !is_home() && !is_front_page()) rank_math_the_breadcrumbs(); ?>
    

    If you don’t mind we can 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.

    Thanks Michael, i’ve added URL and admin credentials in the hidden area. Please let me know if you need anything else.
    Hopefully you’ll find where the wrong code is.
    Best

    Hello,

    I have tried your URL with wp-login and wp-admin and even with & without the /en/ added but I am getting a 403 error(screenshot:https://i.rankmath.com/ixV1fx)

    Please check and update us so we can look into this further

    Looking forward to helping you. Thank you.

    ​​​​​​

    it might be the country black-list of my hosting. If you tell me where you access from i’ll white-list it.
    Thanks

    Alberto
    Rank Math business

    Hello,

    If you disable the breadcrumbs in the Rank Math panel is the issue still there? If yes, it means those breadcrumbs are being added by the theme. If no, it means (since you said you didn’t add any code) the theme is detecting Rank Math plugin and it is already compatible with Rank Math, adding the code for you.

    About the code my colleague shared, the complete code would be this one (keep in mind it has not to be added in any CSS file but in your theme template):

    <?php if (function_exists('rank_math_the_breadcrumbs') && !is_home()) rank_math_the_breadcrumbs(); ?>

    Looking forward to help you.

    Hi Alberto,

    the breadcrumbs option is not activated now and the issue is still there, that’s why i’m asking your support.
    I will ask DIVI EXTRA about automated detection of Rank Match and code inclusion, but i’m pretty sure it’s not the case.

    Your collegaue Michael was going to access my WP and check, are you still going to do that? If so, i just need to know your country to whitelist it.

    Thanks

    Alberto
    Rank Math business

    Hello,

    My country is Spain, feel free to whitelist (if not already) it so I can log in and check all the settings.

    Looking forward to help you.

    Hi Alberto, i’m Spanish as well, so it’s already whitelisted.
    Please access whenever you like.
    Thanks

    By they way, i checked with DIVI Extra support team and they answered me that they don’t add any code related to breadcrumbs or RankMath.

    Alberto
    Rank Math business

    Hello,

    I am trying to log in but WordPress tells me the credentials are wrong, could you check them?

    Looking forward to help you.

    I’ve received a message today by Google Search Console that the problem is fixed. I haven’t done anything, but as long as it’s fixed I guess I don’t need your support anymore.
    Thanks.

Viewing 15 replies - 1 through 15 (of 16 total)

You must be logged in to reply to this ticket.