Recently, I was looking for a valid schema.org markup for breadcrumbs. From my internet searches, I found many examples. However, most of these examples were not valid when I tested them with the Structured Data Testing Tool from the Google Developers website. Some errors I received included:
The property title is not recognised by Google for an object of type ListItem.
and
The property child is not recognised by Google for an object of type BreadcrumbList.
So here is a working example breadcrumbs schema.org markup code. It is valid and will most likely result in Google showing the breadcrumbs in the search results.
The example is for this breadcrumb: Hardware > Smartphones > Android
<ol vocab="http://schema.org/" typeof="BreadcrumbList"> <li property="itemListElement" typeof="ListItem"> <a property="item" typeof="WebPage" href="https://example.com/hardware"> <span property="name">Hardware</span></a> <meta property="position" content="1"> </li> › <li property="itemListElement" typeof="ListItem"> <a property="item" typeof="WebPage" href="https://example.com/hardware/smartphones"> <span property="name">Smartphones</span></a> <meta property="position" content="2"> </li> › <li property="itemListElement" typeof="ListItem"> <a property="item" typeof="WebPage" href="https://example.com/hardware/smartphones/android"> <span property="name">Android</span></a> <meta property="position" content="3"> </li> </ol>
Hi,
how do you change the code in your website like its shown above?
Cheers Maarte
Thank you for giving us the light into this issue, however i wish you had explained a bit into implementing this code in singular post.