Hello,
I have added custom hreflang tags directly into my theme.liquid so that each language version of the website correctly points to the corresponding localized URL. The custom implementation works fine.
However, the storefront still outputs another additional set of <link rel="alternate"> hreflang tags in the HTML <head>, resulting in duplicates.
This causes SEO issues, for example:
-
Duplicate language alternates
-
Multiple
x-default -
Conflicting language signals for search engines
Here is how it looks in the source code (two separate hreflang blocks on the same page):
(attach screenshot here)
My goal
I want to keep using multiple languages, but I need to disable the automatically added hreflang block, so only the custom hreflang tags remain.
Question
Where exactly can I disable the automatic hreflang generation in Shopify?
Is there a theme or markets setting that controls this?
Storefront: https://www.stern-company.com
Theme: Dawn 7.0.1
Thank you!
