Global expansion, localizing content, and selling in multiple currencies and languages
Pages come under collection/product shows No self-referencing hreflang but the same page views under product page have no issue
Ex:
aaaaaa.fr/ collections/bbbbbb/products/ccccccc - No self-referencing hreflang
aaaaaa.fr/ products/ccccccc - Have No Issue (Same product)
How to resolve?
Hello @Suryadprakash ,
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:
<link rel="alternate" hreflang="fr-FR" href="https://aaaaaa.fr/collections/bbbbbb/products/ccccccc" />
<link rel="alternate" hreflang="fr-FR" href="https://aaaaaa.fr/collections/bbbbbb" />
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.
Regards,
Transcy team.
Hi Transcy team.
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"
Hello again,
If you can't access the "hreflang" coding section, you may edit the code in your theme's code. Try to follow these steps:
<head>
<!-- Other head elements -->
<link rel="alternate" hreflang="x-default" href="https://example.com/" />
<link rel="alternate" hreflang="fr" href="https://example.com/fr/" />
<link rel="alternate" hreflang="en" href="https://example.com/en/" />
</head>
Or, you can try to access the "HTML" tab in the "Shopify Translate and Adapt" app and paste the code here.
Hope this will work. Don't be hesitate to contact us if you have any further questions.
Have a nice day.
Transcy team.
Hi Transcy team,
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?
Thank you!
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024