In the first script there is a breadcrumb with ID 17. In the second script in the breadcrumb section the ID of the first is correctly called.
<script type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","@id":"http://localhost/joomla-pulita/#/schema/BreadcrumbList/17","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"http://localhost/joomla-pulita/","name":"Home"}},{"@type":"ListItem","position":2,"item":{"@id":"http://localhost/joomla-pulita/component/content/category/category1","name":"Category1"}},{"@type":"ListItem","position":3,"item":{"name":"Article1"}}]}</script>
<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"http://localhost/joomla-pulita/#/schema/Organization/base","name":"Joomla Test","url":"http://localhost/joomla-pulita/"},{"@type":"WebSite","@id":"http://localhost/joomla-pulita/#/schema/WebSite/base","url":"http://localhost/joomla-pulita/","name":"Joomla Test","publisher":{"@id":"http://localhost/joomla-pulita/#/schema/Organization/base"}},{"@type":"WebPage","@id":"http://localhost/joomla-pulita/#/schema/WebPage/base","url":"http://localhost/joomla-pulita/component/content/article/article1?catid=2","name":"Article1","isPartOf":{"@id":"http://localhost/joomla-pulita/#/schema/WebSite/base"},"about":{"@id":"http://localhost/joomla-pulita/#/schema/Organization/base"},"inLanguage":"it-IT","breadcrumb":{"@id":"http://localhost/joomla-pulita/#/schema/BreadcrumbList/17"}},{"@type":"Article","@id":"http://localhost/joomla-pulita/#/schema/com_content/article/1","name":"Article1","headline":"Article1","inLanguage":"it-IT","author":{"@type":"Person","name":"Walturbo"},"articleSection":"Category1","dateCreated":"2025-05-12T09:49:28+00:00","interactionStatistic":{"@type":"InteractionCounter","userInteractionCount":33},"isPartOf":{"@id":"http://localhost/joomla-pulita/#/schema/WebPage/base"}}]}</script>
http://localhost/joomla-pulita/#/schema/BreadcrumbList/17 must be identical in both scripts otherwise the guidelines are not respected and the snippet is incorrect.
The breadcrumb ID of the first and second script are not identical, the first one contains the ID 100 while the second one contains the ID 17. This also generates an error on Google Search Console, that markout will not be shown in the search results.
This is test on GSC: https://search.google.com/test/rich-results/result?id=ri7p2TnjVBXXhFJJzLcdVQ
<script type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","@id":"http://localhost/joomla-pulita/#/schema/BreadcrumbList/110","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"http://localhost/joomla-pulita/","name":"Home"}},{"@type":"ListItem","position":2,"item":{"@id":"http://localhost/joomla-pulita/component/content/category/category1","name":"Category1"}},{"@type":"ListItem","position":3,"item":{"name":"Article1"}}]}</script>
<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"http://localhost/joomla-pulita/#/schema/Organization/base","name":"Joomla Test","url":"http://localhost/joomla-pulita/"},{"@type":"WebSite","@id":"http://localhost/joomla-pulita/#/schema/WebSite/base","url":"http://localhost/joomla-pulita/","name":"Joomla Test","publisher":{"@id":"http://localhost/joomla-pulita/#/schema/Organization/base"}},{"@type":"WebPage","@id":"http://localhost/joomla-pulita/#/schema/WebPage/base","url":"http://localhost/joomla-pulita/component/content/article/article1?catid=2","name":"Article1","isPartOf":{"@id":"http://localhost/joomla-pulita/#/schema/WebSite/base"},"about":{"@id":"http://localhost/joomla-pulita/#/schema/Organization/base"},"inLanguage":"it-IT","breadcrumb":{"@id":"http://localhost/joomla-pulita/#/schema/BreadcrumbList/17"}},{"@type":"Article","@id":"http://localhost/joomla-pulita/#/schema/com_content/article/1","name":"Article1","headline":"Article1","inLanguage":"it-IT","author":{"@type":"Person","name":"Walturbo"},"articleSection":"Category1","dateCreated":"2025-05-12T09:49:28+00:00","interactionStatistic":{"@type":"InteractionCounter","userInteractionCount":33},"isPartOf":{"@id":"http://localhost/joomla-pulita/#/schema/WebPage/base"}}]}</script>
If I disable the module with ID 110 everything goes back to normal.
Labels |
Added:
No Code Attached Yet
|
I don't want to have two modules on the site, it was a coincidence that I noticed this problem because I was changing templates on the online site and GSC reported this conflict to me.
During the template change, which I had done only on some pages while on others I would do it later, I had the two path modules enabled in different positions, even though only one position was present on each template. So I went deeper and discovered this problem.
However, I have seen sites with the path at the top of very long articles and also at the end, so two different positions... and in that case this incorrect ID problem could occur.
Labels |
Added:
bug
|
I have the same problem. But it is strange that breadcrumb markup appears by itself. Let this micro markup be in the breadcrumb module.
Why do you want to have two breadcrumb modules on one site?