Skip to content Skip to footer

Shopify Adds Hreflang Tag Control in Admin Settings

Summarise this article with
Shopify 6

Shopify adds hreflang tag control in admin settings

Released on , Shopify now lets merchants turn its automatic hreflang tags on or off from a single admin setting, giving stores that manage hreflang themselves a way to avoid duplicate or conflicting tags. Read the release note on the Shopify Changelog.

Hreflang tags are the signals that tell a search engine which language or regional version of a page to serve to a given visitor. Shopify generates them automatically from your Markets language and domain settings, and until now there was no way to switch that behaviour off. For most merchants the automatic tags are a convenience. For merchants running a dedicated international SEO app or hand-coded hreflang in their theme, the automatic tags were a problem, because two competing sets of annotations on the same page can cancel each other out.

The new control sits in Online Store, then Preferences, under the Social sharing and SEO section. It is on by default, so nothing changes for stores that have never touched it. The value is in the off switch: it hands ownership of hreflang back to merchants who have a specific reason to manage it themselves.

How it works

An hreflang annotation is a small piece of markup, usually a link element in the page head, that pairs a URL with a language and, optionally, a region code. A store selling in British English, French and German would carry a set of annotations pointing each language version at the others, plus an x-default entry for visitors who do not match any specified language. Google reads these annotations to decide which version to show a searcher, so a French shopper in Paris is served the French page rather than the English one.

The rules are strict. Annotations have to be reciprocal, meaning the French page must point back at the English page and vice versa. If the set is broken or inconsistent, search engines commonly ignore the whole cluster rather than guess, which quietly removes the language targeting a merchant thought was in place. Google documents the requirements and the common failure modes in its international SEO guidance.

Shopify Markets builds these annotations for you. When you add a language or a market and map it to a domain, subfolder or subdomain, Shopify writes the matching hreflang tags across the affected pages. That automation is genuinely useful for a merchant who has not thought about hreflang at all. The difficulty arises when a second system is also writing tags. A third-party translation or international SEO app that injects its own hreflang, or a theme that hard-codes annotations in the layout, produces a page with two sets of tags. Search engines then see duplicate or contradictory language declarations and are liable to disregard both. The new setting removes that collision by letting the merchant nominate a single source of truth.

Examples and use cases

The clearest case is a store running a specialist international SEO or translation app that manages hreflang as part of its feature set. Before this change, that app's tags and Shopify's tags coexisted on every localised page, and the merchant had no clean way to stop Shopify. Turning the automatic setting off now leaves the app as the sole author of hreflang, which is exactly what the app expects.

A second case is the store with hand-built hreflang in its theme. Some merchants, or the agencies who built their store, added hreflang directly in the theme code years ago to handle a configuration Shopify did not support at the time. With the automatic tags still firing, those manual annotations were being duplicated. The merchant can now switch Shopify off and keep the bespoke logic, or delete the theme code and rely on Shopify instead. Either path is valid, provided only one of them is active.

The third case is the majority: a store using Shopify Markets as designed, with languages and domains configured in the admin and no external hreflang system. For these merchants the correct action is to do nothing. The automatic tags are accurate, they update when markets change, and hand-managing hreflang would add risk for no benefit. The off switch is not an invitation to tinker, it is a release valve for the minority of stores with a genuine conflict.

What this means for UK merchants

Plenty of UK Shopify stores sell beyond the domestic market. A brand shipping to the Republic of Ireland, France, Germany or the Netherlands, or serving both British and American English audiences, relies on hreflang to route each searcher to the right language and currency version of a product page. Get it right and a German customer lands on the German page with prices they understand. Get it wrong and Google may surface the English page to a German query, or drop the localised pages from the relevant regional results altogether.

For a UK merchant who set up Shopify Markets cleanly and left it alone, this update is reassurance rather than a task. The automatic tags keep doing their job, and the new toggle simply documents that Shopify is the system responsible. The merchants who should pay attention are those who have layered a translation app or a legacy theme customisation over the top. If your international pages have quietly underperformed in local search, duplicate hreflang is a plausible cause worth ruling out, and you now have a switch to resolve it.

This is the kind of technical detail that separates a store that merely offers multiple languages from one that ranks in each of them. If you are weighing an international expansion, or you suspect your current setup is leaking visibility abroad, it is worth an audit of how hreflang is being generated before you invest in more content or ads. Our SEO service covers exactly this class of technical diagnosis, and a correctly built Shopify store should have a single, deliberate source for its hreflang from day one.

Practical considerations

Turning the automatic setting off is not a fix in itself. It removes Shopify's tags, which means whatever system you are relying on instead has to be complete and correct, or you end up with no hreflang at all. No hreflang is worse than automatic hreflang for a genuinely multilingual store, so only switch off if you have a working alternative already in place. Before and after any change, validate your pages with Google Search Console's URL Inspection tool or a dedicated hreflang checker, and confirm that the annotations are reciprocal and that the x-default is present.

Expect a lag. Search engines have to recrawl your pages to pick up the revised markup, so the effect of removing a duplicate set will not show in reporting immediately. Keep a note of when you made the change so you can attribute any movement in international impressions correctly. Finally, remember that this setting only matters if you actually run more than one language or region. A single-language UK store selling only to the UK has no hreflang to manage and can ignore the toggle entirely.

FAQ

What are hreflang tags and why do they matter?

Hreflang tags tell search engines which language or regional version of a page to serve to a given visitor. For a store selling in more than one language or country, they route each searcher to the correct version, so a French shopper sees the French page rather than the English one.

Where is the new Shopify hreflang setting?

Go to Online Store, then Preferences, and find the Social sharing and SEO section. The automatic hreflang tag setting is there and is switched on by default.

Should I turn automatic hreflang tags off?

Only if another system is already managing hreflang for you, such as a dedicated international SEO app or hand-coded tags in your theme. If you rely on Shopify Markets alone, leave the setting on, because turning it off would remove your hreflang entirely.

Why would duplicate hreflang tags be a problem?

When two systems write hreflang on the same page, search engines see conflicting or duplicated language declarations and often ignore the whole set rather than guess. That silently removes the language targeting you intended, which can hurt visibility in international search.

Does this setting affect a single-language UK store?

No. Hreflang only applies when you run more than one language or region. A UK store selling only in British English to the UK has no hreflang to manage, so the toggle has no effect and can be ignored.

How do I check my hreflang is working after a change?

Use Google Search Console's URL Inspection tool or a dedicated hreflang validator to confirm the annotations are present and reciprocal, and that an x-default is set. Allow time for search engines to recrawl your pages before expecting the change to show in reporting.

Want help with your own marketing?

Get a free audit, we will tell you what is working, what is not, and what to do about it.

Get a free audit