← All guides

LinguaFlow guide

Hreflang on Shopify: What It Is and When to Touch It

Hreflang is a tag that tells search engines which language and region a page is meant for. On Shopify it is handled for you in most cases, which is why you may never have seen it. This guide covers what it does, what Shopify sets up, and the few situations where you need to check it.

What hreflang does

When you sell in several languages, the same product page exists at several URLs. Google's Search documentation says hreflang tells Google that these pages are language or regional versions of the same content, so it can point people to the most appropriate version. Shopify adds that this stops localized pages from being treated as duplicates.

What Shopify does automatically

Shopify's help center says automatic hreflang tags are turned on by default for all stores. They are generated from your market and language configuration, and they update when you add, remove or change market domain and language settings.

Shopify handlesDetail
Hreflang tagsGenerated for markets with their own domain, subdomain or subfolder
x-default tagPoints to your primary domain, for shoppers who match no market
SitemapsInclude every published language, with hreflang annotations on each URL

When there are no tags

Shopify only generates hreflang tags for markets that have a distinct domain, subdomain or subfolder. If all your markets share one URL, there are no alternate versions to reference, so no tags appear. That is expected, not a fault. To give a market its own URLs, see adding languages with Shopify Markets.

The setting to leave alone

The switch is in Online Store, then Preferences, in the Social sharing image and SEO section, and it is called Automatic hreflang tags. Shopify warns that turning it off can negatively affect your store's SEO, and says to turn it off only if you have another hreflang implementation in place.

What you still need to do

Hreflang connects pages. It does not translate them. If a language is published without translations, Shopify shows your default language at that URL instead.

Doing this at scale

LinguaFlow drafts AI translations for each language you add and applies your brand glossary and tone rules. You review and edit before publishing, and it publishes through Shopify's native Translations API with no theme edits, with an audit log and rollback. See LinguaFlow.

Doing this for a whole catalog or every order?

See how LinguaFlow handles it for you.

Explore LinguaFlow →

More LinguaFlow guides