Why it matters
- Google shows a page's trail (الرئيسية › العطور › عطر العود) in its result in place of the address, when the breadcrumb markup is valid. A breadcrumb with an error is not used.
- Arabic pages write the position in the digits of the text (
١): JSON-LD wants a number, and a position it cannot read ends the list there. - Each item needs a name and a full address; only the last, the page itself, may leave the address out.
Example
{ "@type": "ListItem", "position": "١", "name": "الرئيسية", "item": "/" }, { "@type": "ListItem", "position": 2, "item": "https://www.example.com/perfumes" },
{ "@type": "ListItem", "position": 1, "name": "الرئيسية", "item": "https://www.example.com/" }, { "@type": "ListItem", "position": 2, "name": "العطور", "item": "https://www.example.com/perfumes" },
How to fix
Number the items 1, 2, 3 in order from the home page, and give each a name and a full address:
json
{ "@type": "ListItem", "position": 1, "name": "الرئيسية", "item": "https://www.example.com/" },
{ "@type": "ListItem", "position": 2, "name": "العطور", "item": "https://www.example.com/perfumes" },
{ "@type": "ListItem", "position": 3, "name": "عطر العود الملكي" }- Print
positionfrom a counter, as a number, not from the formatted text. - Write full addresses, with
https://and the domain. - The trail in the markup should match the trail on the page.
How we detect
- We read the JSON-LD blocks that parse and find every
BreadcrumbList, wherever it is (at the top, in@graph, or in a page'sbreadcrumb). - A list needs at least one item. Each item needs a
position(a whole number of 1 or more, as a number or a text of digits 0–9), aname(its own, or itsitem's), and anitemaddress, except the last. - The positions together must run 1, 2, 3.
- An
itemaddress must start with a scheme.