How to fix duplicated JSON-LD structured data using @id references
Many websites embed JSON-LD structured data separately in multiple components — such as footers, article templates, and breadcrumbs — leading to redundant and potentially contradictory markup. The core fix involves using the @id property to assign stable identifiers to each node, allowing other nodes to reference them instead of repeating shared details like publisher names or logos. All structured data should be consolidated into a single @graph array in the page head, containing nodes for Organization, WebSite, WebPage, and any page-specific types in that order. Common mistakes to avoid include referencing an @id that has no corresponding node on the page, reusing the same identifier for different entities, and using relative rather than absolute URLs as identifiers. Additionally, datePublished should remain fixed after a page goes live, while dateModified should only be updated when content genuinely changes.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in