Global expansion, localizing content, and selling in multiple currencies and languages
Hi community,
I need your help regarding Shopify configuration for international sales, and generated hreflang markup.
I've taken over the work on a single store selling in multiple countries. I've spotted a weird HTML hreflang setup.
Basically, hreflang tags are all localized to Germany for some reason - no matter the languages. See below.
<link rel="alternate" hreflang="x-default" href="https://domain.com">
<link rel="alternate" hreflang="en-DE" href="https://domain.com">
<link rel="alternate" hreflang="de-DE" href="https://domain.com/de">
<link rel="alternate" hreflang="es-DE" href="https://domain.com/es">
<link rel="alternate" hreflang="fr-DE" href="https://domain.com/fr">
<link rel="alternate" hreflang="it-DE" href="https://domain.com/it">
So basically, Shopify automatically generates hreflang tags telling Google that all languages available target people browsing from Germany. You see the problem here.
Context:
In my opinion, the easiest setup today would be to keep the language URL structure AND to strip the localization on hreflang markup as below. So hreflang markup would be telling Google to target people according to language only, not language-country condition.
<link rel="alternate" hreflang="x-default" href="https://domain.com">
<link rel="alternate" hreflang="en" href="https://domain.com">
<link rel="alternate" hreflang="de" href="https://domain.com/de">
<link rel="alternate" hreflang="es" href="https://domain.com/es">
<link rel="alternate" hreflang="fr" href="https://domain.com/fr">
<link rel="alternate" hreflang="it" href="https://domain.com/it">
When I ask Shopify about this issue, customer support stops responding. Or tell me it's possible for them to disable the automatic hreflang generation of the store. But I'd like to stay out of the code and navigate the best way possible within the Settings interface. Still no answer.
My ultimate question is:
Is the current hreflang markup the result of a bad configuration on this website (regarding Shopify Markets / other Shopify settings),
OR is Shopify expecting website owners to localize every language available to countries where they are commonly spoken (and where the store enables checkout)?
Thanks for your feedback.
I wish someone at shopify could answer. Having the same issue.
I installed shopify market last week and I received an alert by ahref regarding duplicate content due to Hreflang issues 😞 😞 seems shopify set up is not ok
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025