Google Search Console – Breadcrumbs issue
-
Google Seach Console gives me the following error for the referenced page:
Either "name" or "item.name" should be specified
It points to the Yoast JSON part of the HTML, more specifically this part:
{"@type":"ListItem","position":2,"item":{"@type":"WebPage","@id":"https://www.wapititravel.com/blog/en/eguides/","url":"https://www.wapititravel.com/blog/en/eguides/","name":""}},
I noticed how the name tag is empty where it says “Blog” when looking at a regular post.
This page is a download, created with Easy Digital Downloads.
Do I need to set a value for this somewhere?Some background:
– Breadcrumbs are disabled for my theme in the Yoast settings.
– I already looked at this https://yoast.com/help/the-breadcrumbs-title-setting/
– I don’t see the option to set a breadcrumb title in the download and there’s nothing about breadcrumbs in the custom post type settings either. (maybe because they’re disabled?)The page I need help with: [log in to see the link]
-
@kcaluwae We understand that Google Search Console is reporting a warning saying that ‘either name or item.name should be specified’.
The Yoast SEO plugin takes the name from the page name. Can you please check the page and make sure you’ve added a title to this page?
Does adding the title resolve the issue?
@devnihil , thanks for your answer.
The download has a title.
The JSON breadcrumb shows 3 levels:
1. Home
2. (empty) <- the one we’re discussing here
3. The Ultimate Japan Trip Planner (this is the title of the download)I’ve been looking at some other pages to get an idea what this second level refers to.
When looking at a blog article it’s “blog”
When looking at an overview page of multiple articles of Africa ‘ menu destinations > Africa’ it showed the category name ‘destinations’
If I go to the overview page of the downloads there was no level 3 and level 3 showed ‘Archive E-guides’.(I’ve assigned the label ‘E-guides’ to downloads)
The missing item should be ‘E-guides’ but I don’t know where to set this. Below is an overview of all the labels I have defined in functions.php following the documentation of EDD. They said this was correct and pointed me to here for further support.
‘name’ => _x(‘E-guides’, ‘post type general name’, ‘your-domain’),
‘singular_name’ => _x(‘E-guide’, ‘post type singular name’, ‘your-domain’),
‘singular’ => __(‘E-guide’, ‘your-domain’),
‘plural’ => __(‘E-guides’, ‘your-domain’),
‘add_new’ => __(‘Add New’, ‘your-domain’),
‘add_new_item’ => __(‘Add New E-guide’, ‘your-domain’),
‘edit_item’ => __(‘Edit E-guide’, ‘your-domain’),
‘new_item’ => __(‘New E-guide’, ‘your-domain’),
‘all_items’ => __(‘All E-guides’, ‘your-domain’),
‘view_item’ => __(‘View E-guide’, ‘your-domain’),
‘search_items’ => __(‘Search E-guides’, ‘your-domain’),
‘not_found’ => __(‘No E-guides found’, ‘your-domain’),
‘not_found_in_trash’ => __(‘No E-guides found in Trash’, ‘your-domain’),
‘parent_item_colon’ => ”,
‘menu_name’ => __(‘E-guides’, ‘your-domain’),
‘featured_image’ => __( ‘%1$s Image’, ‘easy-digital-downloads’ ),
‘set_featured_image’ => __( ‘Set %1$s Image’, ‘easy-digital-downloads’ ),
‘remove_featured_image’ => __( ‘Remove %1$s Image’, ‘easy-digital-downloads’ ),
‘use_featured_image’ => __( ‘Use as %1$s Image’, ‘easy-digital-downloads’ ),@kcaluwae Can you try this? Please go edit this page https://www.wapititravel.com/blog/en/eguides/ and on the Yoast SEO metabox > Advanced tab input the page title on the Breadcrumb Title. Now, does the issue resolve?
This https://www.wapititravel.com/blog/en/eguides/ is not a real page. It’s the archive page that shows all e-guides.
If I go to this page https://www.wapititravel.com/blog/en/eguides/japan-trip-planner/ I don’t see an option to change the breadcrumb title.
This is what I see in the advanced options: https://prnt.sc/106fvcmMaybe because I don’t have breadcrumbs enabled? (see my original post)
Thanks for sharing the relevant screenshot with us. Since you have disabled the Yoast SEO breadcrumbs from the settings, the breadcrumbs title option isn’t appearing for you in the meta box advanced settings for the relevant page.
That said, it turns out a bug where the Yoast SEO plugin continues to include the breadcrumb schema markup even though it has been disabled from the settings. An issue report is currently open in our development team for this issue. Our development teams are still investigating how to fix it by using the best possible solution.
So, once the relevant fix is released, the relevant schema markup will no longer output since you have disabled the breadcrumbs. Unfortunately, we don’t have an ETA when the relevant fix will be ready for everyone.
Thanks @mazedulislamkhan
I think that the problem that item2 is not given a value might be unrelated to the fact that the JSON appears when the breadcrumb is disabled.
My problem will be gone if the JSON is no longer included in the page and as long as I leave breadcrumbs disabled but I think that if I would enable Yoast breadcrumbs I would still end up with an empty item2.
That’s true, if you want to use Yoast SEO breadcrumbs, we’ll still need to investigate the issue further for you as Yoast SEO isn’t generating the value for
name
property.So, to investigate the issue further, we’d like you to please perform a conflict check at this stage to see if something else is interfering with Yoast SEO breadcrumbs. You can find the conflict check guide here: https://yoast.com/help/how-to-check-for-plugin-conflicts/
@mazedulislamkhan
This will take some time for me to test as the health check plugin is not working (see: https://www.ads-software.com/support/topic/troubleshooting-mode-not-working-2/)I was planning on refreshing my staging site but at this time I cannot say when I will get to this.
Thanks for letting us know about this @kcaluwae. Please, do feel free to let us know here once you’re ready so that we can deep dive into this further.
Have a fantastic day!
We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.
I set up a new staging site and was able to use the troubleshooting plugin on that instance.
In full troubleshooting mode (all plugins disabled and with a basic theme) the issue still occurs. But even in this case, with Yoast disabled, I see this breadcrumb in the article that is clearly coming from Yoast.
<script type="application/ld+json" class="yoast-schema-graph">{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.wapititravel.com/wpbeta/#organization","name":"Wapiti Travel","url":"https://www.wapititravel.com/wpbeta/","sameAs":["https://www.facebook.com/wapititravel","https://www.instagram.com/wapititravel/","https://www.pinterest.com/wapititravel","https://twitter.com/wapititravel"],"logo":{"@type":"ImageObject","@id":"https://www.wapititravel.com/wpbeta/#logo","inLanguage":"en-US","url":"","width":5433,"height":2175,"caption":"Wapiti Travel"},"image":{"@id":"https://www.wapititravel.com/wpbeta/#logo"}},{"@type":"WebSite","@id":"https://www.wapititravel.com/wpbeta/#website","url":"https://www.wapititravel.com/wpbeta/","name":"Wapiti Travel","description":"Travel Your Way","publisher":{"@id":"https://www.wapititravel.com/wpbeta/#organization"},"potentialAction":[{"@type":"SearchAction","target":"https://www.wapititravel.com/wpbeta/?s={search_term_string}","query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https://www.wapititravel.com/wpbeta/en/eguides/japan-trip-planner/#primaryimage","inLanguage":"en-US","url":"https://www.wapititravel.com/wpbeta/wp-content/uploads/2020/02/Tsushima_Shrine_Japan.jpg","width":1920,"height":1079,"caption":"The Tsushima Shrine"},{"@type":"WebPage","@id":"https://www.wapititravel.com/wpbeta/en/eguides/japan-trip-planner/#webpage","url":"https://www.wapititravel.com/wpbeta/en/eguides/japan-trip-planner/","name":"The Ultimate Japan Trip Planner - Wapiti Travel","isPartOf":{"@id":"https://www.wapititravel.com/wpbeta/#website"},"primaryImageOfPage":{"@id":"https://www.wapititravel.com/wpbeta/en/eguides/japan-trip-planner/#primaryimage"},"datePublished":"2020-05-18T08:28:29+00:00","dateModified":"2021-02-09T08:55:34+00:00","description":"This Japan trip planner will help you to create your dream trip. It includes a Japan train travel planner, budget planner, itinerary planner and much more.","breadcrumb":{"@id":"https://www.wapititravel.com/wpbeta/en/eguides/japan-trip-planner/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https://www.wapititravel.com/wpbeta/en/eguides/japan-trip-planner/"]}]},{"@type":"BreadcrumbList","@id":"https://www.wapititravel.com/wpbeta/en/eguides/japan-trip-planner/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"item":{"@type":"WebPage","@id":"https://www.wapititravel.com/wpbeta/en/","url":"https://www.wapititravel.com/wpbeta/en/","name":"Home"}},{"@type":"ListItem","position":2,"item":{"@type":"WebPage","@id":"https://www.wapititravel.com/wpbeta/en/downloads/","url":"https://www.wapititravel.com/wpbeta/en/downloads/","name":""}},{"@type":"ListItem","position":3,"item":{"@type":"WebPage","@id":"https://www.wapititravel.com/wpbeta/en/eguides/japan-trip-planner/","url":"https://www.wapititravel.com/wpbeta/en/eguides/japan-trip-planner/","name":"The Ultimate Japan Trip Planner"}}]}]}</script>
We understand you want the breadcrumb pathway on https://www.wapititravel.com/blog/en/eguides/japan-trip-planner/ to show as
Home -> E-guides -> The Ultimate Japan Trip Planner
We can see in the source code that the second breadcrumb item, is missing data. So it fails to appear and as a result it is triggering errors in Google.
We would like some more information.
1. We had another recent release. Can you confirm you are using the most recent Yoast SEO, v16.0.2? If you update, does the issue resolve?
2. Are all your non-Yoast plugins and themes also updated?
3. Can you confirm you are using WordPress 5.7? You can check by clicking on the W in the top left and selecting About. If you need to update, please check with your host provider.?Please know that if you are using an older version of WordPress Core you may experience unexpected behavior with Yoast.?This guide explains more:?https://yoast.com/why-we-dont-support-old-wordpress-versions/.
4. It may be an issue with the post parent in the database not being correct. Please go to Tools-Export and export a list of your posts/pages. Review the file to locate the post in question. Verify the post_Id is correct for it. Then check to see what appears in the post_parent section. Is it 0 or some other number? See image which highlights this: https://ibb.co/wzbBZmB.
5.?If you use the Yoast Helper Tool (on either site) does the issue resolve? Please try the steps below:
– i. Install & activate the Yoast Test Helper plugin:?https://www.ads-software.com/plugins/yoast-test-helper/
– ii. Go to Tools -> Yoast Test
– iii. Locate the Yoast SEO section and select the “Reset indexables tables & migrations” button
– iv. Click the “SEO Data” button in the SEO->Tools section.
– NOTE: The SEO Data button may not appear on your staging site. If you don’t see the button or if it is not clickable you will need to adjust the environment type to Production.?This guide explains more:?https://make.www.ads-software.com/core/2020/07/24/new-wp_get_environment_type-function-in-wordpress-5-5/- This reply was modified 3 years, 8 months ago by Pcosta88.
- The topic ‘Google Search Console – Breadcrumbs issue’ is closed to new replies.