Global expansion, localizing content, and selling in multiple currencies and languages
Hi There,
We have 2 different hreflang setup right now and both are incorrect.
1st one, which is added in layout/theme.liquid
<link rel="alternate" href="/collections/mens-suede-jackets" hreflang="x-default" /> |
<link rel="alternate" href="/de/collections/mens-suede-jackets" hreflang="de" /> |
<link rel="alternate" href="/fr/collections/mens-suede-jackets" hreflang="fr" /> |
<link rel="alternate" href="/it/collections/mens-suede-jackets" hreflang="it" /> |
<link rel="alternate" href="/ru/collections/mens-suede-jackets" hreflang="ru" /> |
This one does not contain the localised URLs. We have URLs in german for "/de/collections/herren-wildleder-jacken" for example.
2nd one, default setup by Shopify
<link rel="alternate" hreflang="x-default" href="/collections/herren-wildleder-jacken"> |
<link rel="alternate" hreflang="de-CH" href="/de-ch/collections/herren-wildleder-jacken"> |
<link rel="alternate" hreflang="fr-FR" href="/fr-fr/collections/mens-suede-jackets"> |
<link rel="alternate" hreflang="ru-RU" href="/ru-ru/collections/%D0%BC%D1%83%D0%B6%D1%81%D0%BA%D0%B8%D0%B5-%D0%B7%D0%B0%D0%BC%D1%88%D0%B5%D0%B2%D..."> |
<link rel="alternate" hreflang="it-IT" href="/it-it/collections/mens-suede-jackets-it"> |
<link rel="alternate" hreflang="de-DE" href="/de-de/collections/herren-wildleder-jacken"> |
<link rel="alternate" hreflang="fr-DE" href="/fr/collections/mens-suede-jackets"> |
<link rel="alternate" hreflang="ru-DE" href="/ru/collections/%D0%BC%D1%83%D0%B6%D1%81%D0%BA%D0%B8%D0%B5-%D0%B7%D0%B0%D0%BC%D1%88%D0%B5%D0%B2%D1%8..."> |
<link rel="alternate" hreflang="it-DE" href="/it/collections/mens-suede-jackets-it"> |
<link rel="alternate" hreflang="en-DE" href="/en/collections/mens-suede-jackets"> |
This version has localised URLs, however also unnecessary URLs such as /fr-fr/ instead of /fr/ or /de-ch/. We don't need country codes but only the country codes in the hreflang with a localised version.
Ideal scenario is:
We only have localised URLs for German and Russian right now. That's why they can use local URLs, French and Italian can be in English.
<link rel="alternate" href="/collections/mens-suede-jackets" hreflang="x-default" /> |
<link rel="alternate" href="/de/collections/herren-wildleder-jacken" hreflang="de" /> |
<link rel="alternate" href="/fr/collections/mens-suede-jackets" hreflang="fr" /> |
<link rel="alternate" href="/it/collections/mens-suede-jackets" hreflang="it" /> |
<link rel="alternate" href="/ru/collections/%D0%BC%D1%83%D0%B6%D1%81%D0%BA%D0%B8%D0%B5-%D0%B7%D0%B0%D0%BC%D1%88%D0%B5%D0%B2%D1%8..." hreflang="ru" /> |
We are using Transcy for the translations and I think it has an affect on hreflang tags too.
Any idea how the ideal scenario is possible?
Thank you for your time,
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024