BreadcrumbList problem: "The value provided for item.id must be a valid URL."
You have to use id as well for BreadcrumbList. Edit your code to add id (this can be your URL) Example code :
"item":
{
"@id": "https://colorwhistle.com/services/wordpress-web-design-development/",
"name": "WordPress Development Services"
}
EDIT - Remove URL all together use @id instead
EDIT 2 - Implementation guidelines and details Google guidelines for Breadcrumb Schema.org for BreadcrumbList
Related videos on Youtube
Ranjeeth KA
Ranjeeth is a computer engineer and an SEO Analyst at ColorWhistle. For the past one year he is working on challenging SEO Projects. He manages on-page, off-page SEO and takes care of digital marketing activities in ColorWhistle, LogoWhistle and Web Design Retainer. When he is not in office you can find him playing or watching cricket.
Updated on September 18, 2022Comments
-
Ranjeeth KA over 1 year
Until last week everythink works fine, but in structured data testing tool, I received problem in breadcrumb section.
The value provided for item.id must be a valid URL.
Page URL: https://colorwhistle.com/services/wordpress-web-design-development/
This problem is on every page on my website and I can't find source of this problem. Also I have no idea what cause this problem.
-
Asad Ali Choudhry over 4 yearsI was able to resolve it by doing the steps provided at this link here handyopinion.com/…
-
-
Tony McCreath over 5 yearsMore details on Googles guidelines here: developers.google.com/search/docs/data-types/breadcrumb
-
Duarte Patrício over 5 yearsActually, you don't need the URL in the schema as well. The URL is in HTML the code on the page, then use the same URL as the id.
-
Ranjeeth KA over 5 yearsyeah this solved my problem.. changed "url" to "id".
-
AnkDasCo over 5 years@TonyMcCreath I think this is the one for BreadcrumbList - schema.org/BreadcrumbList
-
Tony McCreath over 5 years@AnkDasCo The testing tool also reports on issues based on the Google Guidelines, like needing to use id.
-
Luciano over 5 years@TonyMcCreath, Google's guidelines and examples do not have any ID. There is no mention of an ID in their documentation.
-
Tony McCreath over 5 years@nilocas Looks like Google dropped the id requirement (and optional image) on the 23rd. As the guideline now states, the item can directly be the URL. The old id based method will still work, it's just more complex.