Hello,
I apologize for the issue you are facing with the Rank Math plugin and the error in Google Search Console regarding invalid items. This error typically indicates that the Schema Markup generated for your breadcrumbs or item list is missing required properties.
To resolve this issue, please follow these steps:
-
Check Your Breadcrumbs Configuration: Ensure that you have configured the breadcrumbs correctly according to our detailed guide on breadcrumbs. If you have already done this, proceed to the next step.
-
Validate Your Schema Markup: Use tools like the Rich Results Test or Schema Validator to identify which specific Schema type is generating the error. This will help you pinpoint the exact issue.
-
Inspect Your Theme: Since you mentioned adding code to your single.php, ensure that the breadcrumbs function is correctly implemented. The code should look like this:
Make sure this code is placed in a location where it can output the breadcrumbs properly.
-
Check for Conflicts: Sometimes, conflicts with other plugins or themes can cause issues with Schema Markup. You can use the Health Check and Troubleshooting plugin to enable troubleshooting mode and deactivate other plugins temporarily to see if the error persists. Here’s how to do it:
- Install the Health Check and Troubleshooting plugin from the WordPress repository.
- Navigate to Tools → Site Health → Troubleshooting and enable troubleshooting mode.
- Activate only Rank Math and check if the error still occurs.
-
Review Custom Schema: If you are using any custom Schema, ensure that it adheres to the guidelines, particularly that it includes either "name" or "item.name" as required.
If after following these steps you are still encountering issues, please reply to this ticket with your website URL so we can assist you further. A human agent from our support team will take over and provide more specific guidance based on your site’s configuration.
Thank you for raising this concern, and we’re here to help!
Hello,
We apologize for the inconvenience that might have been caused due to that.
Could you please share the affected page URL where you’re facing this error so that we can check the issue further for you?
Meanwhile, you can follow this troubleshooting guide and see if that works for you: https://rankmath.com/kb/how-to-fix-either-name-or-item-name-should-be-specified-error/
Let us know how it goes. Looking forward to helping you.
Thank you.
Hello,
Sorry for the delay in response.
We checked all your website pages and it seems all of them has valid schemas as you can see from the tests below:
https://search.google.com/test/rich-results/result?id=E9Rg8WUgr9PbkqExZp51fw
https://search.google.com/test/rich-results/result?id=zj2wEktWeWfAnpj_Wo9n9g
https://search.google.com/test/rich-results/result?id=3R81w__J-dITPFhk-iGkiw
Please clear your website cache and check again from your end.
Let us know how that goes. Looking forward to helping 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.