Fix the broken structured data on the homepage on Shopify
Why it matters
A JSON-LD block on the homepage cannot be parsed, so search engines ignore it. A small syntax mistake such as a trailing comma is the usual cause.
The fix
- Look for the block in theme.liquid or in a section (Online Store, Themes, Edit code), or in an app that adds schema. Fix the syntax there, or remove the app block and keep one source.
Related
- Reported by the Indexability check
- Remove the noindex tag from the homepage
- Remove the noindex header from the homepage
- Let search engines crawl the homepage
- Resolve the noindex that robots.txt hides
- Find out why Google cannot index the homepage
- Fix the error status on the homepage
- Remove the nofollow instruction from the homepage
- Add structured data to the homepage
Scan your domain to see whether this applies to you.