Missing self-referencing hreflang tags are reported on product URLs when accessed via a collection path (e.g., /collections/…/products/…), while direct product URLs (/products/…) are fine.
Hreflang indicates a page’s language/region variants; a self-referencing hreflang tells search engines the current page’s own language/region URL to avoid duplicate-content or indexing issues.
Proposed fix: add self-referencing hreflang tags to the affected templates. Steps suggested: Online Store → Themes → Actions → Edit code; open the relevant template that outputs collection-product pages; add hreflang tags inside the ; save and test.
For stores using Shopify Translate & Adapt, if the app UI doesn’t expose hreflang, either paste tags via the app’s HTML tab (if available) or implement directly in the theme. Note: the shared code blocks contained placeholders and no concrete snippet.
Open points: another merchant asks for a sitewide/general solution since all products in collections are affected. No definitive, scalable implementation (e.g., a global snippet applied across templates) has been provided yet, so the issue remains unresolved.
We are Transcy - a powerful translator and currencies converter.
To resolve the issue, you can add self-referencing hreflang tags to your collection pages. This will indicate to search engines that the page is also available in the same language and region as the current page, and help prevent potential duplicate content issues. Here’s how:
Hope these can help. Don’t be hesitate to contact us if you have any further questions. Please hit the Like Button or mark this as Accepted Solution for us, it encourage us a lot.
Thanks for the reply! i had already developed this in my page, here what the issue is im using “shopify Translate and adopt app” this is where the problem is i cant access to the “hreflang” coding section. can u pls explain me where can i add the coding part? hence im using “shopify Translate and adopt app”
I understand your solution when it comes to a particular page but I have this problem too and it is happening for all my products in all my collections.
Is there a way how to generally solve this problem?