International SEO for Shopify: Hreflang, Shopify Markets, and Getting Multilingual Right

Niko MoustoukasUpdated

Quick summary

Shopify Markets automatically generates separate URLs per market and adds hreflang tags automatically for Markets with distinct language settings. The most common hreflang mistakes are forgetting the x-default tag and failing to implement the reciprocal relationship between all regional variants. Use Google's hreflang testing tools to validate implementation before scaling into new markets.

The classic symptom of bad international SEO on Shopify: your UK store appears in Google.com.au results, your Australian customers see GBP pricing, and your Aussie revenue never reaches its potential despite strong demand. Alternatively: you have set up Shopify Markets for multiple regions, but Google keeps indexing only one version of your store and ignoring the others.

International SEO for Shopify is not complicated in concept, but it has several points of failure that catch out even technically confident merchants. The stakes are high: get it wrong and you are either diluting your SEO by splitting authority across duplicate content, or invisibly blocking Google from serving regional audiences with the right version of your store.

When Does International SEO Actually Matter?

International SEO matters when you are actively targeting multiple countries or language markets through differentiated content, pricing, or domain structure.

Signs you need to address international SEO:

  • You have set up Shopify Markets for multiple countries with different pricing or currencies
  • You are running translated versions of your store for different language markets
  • Your Google Search Console shows significant impressions or clicks from countries you are not actively targeting (or missing from countries you are)
  • You have separate domain names or subdomains for different markets (for example, .co.uk and .com.au)

Signs you probably do not need to worry about it yet:

  • You sell only to UK customers with no plans to expand
  • You ship internationally but have a single-language, single-currency store with no market-specific content

What Is Hreflang and How Does It Work?

Hreflang is an HTML attribute that tells Google which version of a page is intended for which language or regional audience. It appears in the <head> section of your pages and looks like this:

<link rel="alternate" hreflang="en-GB" href="https://yourstore.com/en-gb/products/blue-jacket" />
<link rel="alternate" hreflang="en-AU" href="https://yourstore.com/en-au/products/blue-jacket" />
<link rel="alternate" hreflang="x-default" href="https://yourstore.com/products/blue-jacket" />

This tells Google: "For UK English users, show the /en-gb/ version. For Australian English users, show the /en-au/ version. For everyone else, show the default."

Google uses this information to serve the correct regional version in search results. Without it, Google guesses which version to show based on content, domain, and links, and it often guesses wrong.

Hreflang is advisory, not mandatory. Google uses it as a strong signal but may override it based on other factors. It is particularly critical when you have multiple pages with nearly identical content targeting different regional audiences, because without hreflang, Google may treat them as duplicate content.

How Does Shopify Markets Handle International SEO Automatically?

Shopify Markets (available from the Basic plan upward, with advanced features on higher plans) is Shopify's built-in internationalisation tool. When configured correctly, it handles much of the hreflang implementation for you.

When you set up a market in Shopify Markets with a distinct URL structure (a subfolder like /en-au/ or a subdomain like au.yourstore.com), Shopify automatically:

  • Generates hreflang tags for the pages in each market
  • Adds the x-default hreflang pointing to your primary market
  • Creates canonical tags for each market's pages
  • Generates market-specific sitemaps

For most Shopify merchants expanding into a second or third market, Shopify Markets' automatic handling is sufficient. You do not need to manually add hreflang tags if you are using Shopify Markets with proper URL separation between markets.

The key requirement: each market must have a distinct URL structure. Shopify Markets supports three options: subfolders (yourstore.com/en-au/), subdomains (au.yourstore.com), or separate domains (yourstore.com.au). All three work for international SEO. Using a single URL for all markets (relying only on geolocation to serve different content) does not allow proper hreflang implementation.

When Do You Need to Add Hreflang Manually?

Manual hreflang configuration is needed in these situations:

You are using a custom international setup that bypasses Shopify Markets. Some merchants use third-party translation apps or custom Liquid logic to serve different content without Shopify Markets' built-in URL handling. In these cases, hreflang tags are not automatically generated.

You have separate Shopify stores for different markets. If you are running yourstore.co.uk and yourstore.com.au as completely separate Shopify instances, each store needs hreflang tags in its theme pointing to the equivalent pages on the other store. This requires theme editing.

Shopify Markets' automatic hreflang is generating errors. Use the hreflang validation tools (covered below) to check whether the auto-generated tags are correct. If they are not, you may need to override or supplement them.

To add hreflang manually in Shopify, you edit the theme.liquid file to include hreflang <link> tags in the <head> section. This is straightforward for two markets but becomes complex to maintain as you add more.

Subdomains vs Subdirectories vs ccTLDs: Which Structure Is Best?

This is one of the most debated questions in international SEO. The honest answer: all three structures work, and the differences are less significant than they used to be. The right choice depends on your business context.

Structure Example Pros Cons
Subdirectory yourstore.com/en-au/ Consolidates domain authority. Easiest to manage in Shopify Markets. Less clear regional signal than ccTLD.
Subdomain au.yourstore.com Clear separation. Supported natively by Shopify Markets. Subdomain authority is partially separate from root domain.
ccTLD yourstore.com.au Strongest regional signal. Higher local trust. Higher cost. Separate domain authority to build. More complex to manage.

For most Shopify merchants using Shopify Markets, subfolders are the recommended structure. They consolidate all SEO authority under a single domain, are easiest to manage technically, and are fully supported by Shopify's automatic hreflang generation.

ccTLDs make the most sense if you are building a serious, committed presence in a specific market where local trust and regional search signals are commercially important. A UK estate agency expanding to Ireland would benefit from a .ie domain more than a global fashion brand would.

Common Hreflang Mistakes to Avoid

Missing x-default hreflang. The x-default attribute tells Google which URL to serve when no other hreflang annotation matches the user's location or language. Every set of hreflang annotations should include an x-default. Shopify Markets adds this automatically, but manually-configured implementations often miss it.

Mismatched canonical and hreflang. If a page's canonical tag points to a different URL than its hreflang self-reference, Google receives contradictory signals. Each page should have a canonical tag pointing to itself (self-referential canonical) and hreflang tags that match the canonical URL.

Hreflang tags not reciprocal. If page-A includes hreflang pointing to page-B, then page-B must also include hreflang pointing back to page-A. If only one side of the relationship is in place, Google may ignore both. This is a common failure point when manually managing hreflang across two stores.

Using hreflang for currency differences without language differences. If your UK and Australian stores are both in English and differ only in currency, Google may not serve them as distinct regional results. Hreflang is primarily a language signal. Currency difference alone is not a strong enough differentiator.

Wrong language codes. Use IANA language codes (en-GB, en-AU, fr-FR) not invented codes. Common mistakes: using uk instead of en-GB, or au instead of en-AU.

Testing Your Hreflang Implementation

Hreflang Tag Testing Tool by Merkle (hreflangchecker.com, free): Enter your sitemap URL and it checks all hreflang annotations for correctness, reciprocity, and x-default presence. This is the fastest way to audit a large implementation.

Screaming Frog SEO Spider: When you crawl your site with Screaming Frog, it analyses hreflang tags and reports on missing reciprocal annotations, incorrect language codes, and canonical conflicts. The paid version (£259/year) handles this across large, multi-market catalogues.

Google Search Console International Targeting report: Navigate to Legacy Tools and Reports > International Targeting in Search Console. This shows any hreflang errors Google has detected in your implementation.

After any change to your market structure, URL configuration, or theme (which may affect hreflang tag generation), run a fresh hreflang audit.

Google Search Console International Targeting

For stores that want to give Google an explicit geographic signal beyond hreflang, Search Console's International Targeting tool allows you to set a target country for your property.

This is most useful for stores using a generic TLD (.com, .co) without country-specific subfolders or subdomains. Setting a target country in Search Console gives Google a direct signal about your primary market.

For stores using Shopify Markets with subfolders or subdomains, the hreflang tags provide a more precise signal than the International Targeting setting, and the setting applies to the entire domain rather than individual market versions.

Key Actions to Take Now

  1. If you are using Shopify Markets, verify that each market has a distinct URL structure (subfolder, subdomain, or separate domain). If all markets share the same URL, you cannot have proper hreflang, and Google cannot serve market-specific versions.
  2. Run your sitemap through the Hreflang Tag Testing Tool at hreflangchecker.com. Fix any missing reciprocal tags, missing x-default, or incorrect language codes.
  3. Check Google Search Console's International Targeting report for hreflang errors Google has flagged.
  4. If you are running separate Shopify stores for different markets, verify that both stores have hreflang tags pointing to each other's equivalent pages.
  5. Choose your URL structure (subfolders recommended for most merchants) and ensure it is consistent across your Shopify Markets configuration.
  6. After resolving any hreflang issues, check Search Console over the next 4 to 8 weeks to see whether impressions and clicks from target international markets improve.

Frequently Asked Questions

Does Shopify Markets automatically handle hreflang, or do I need an app? Shopify Markets generates hreflang tags automatically when markets have distinct URLs (subfolders, subdomains, or separate domains). No app is needed for the hreflang itself. Translation apps like Langify or Translate and Adapt handle content translation but rely on Shopify Markets for the URL structure and hreflang generation.

How long does it take for hreflang changes to take effect in Google? Google needs to recrawl all the pages involved in the hreflang relationship before the changes propagate. For stores with small-to-medium catalogues, this typically takes 2 to 6 weeks. Submitting updated sitemaps to Google Search Console after implementing hreflang changes accelerates the process.

I sell in both the UK and US with the same English content, just different currencies. Do I need hreflang? Hreflang is primarily a language signal. If your content is identical except for pricing, hreflang may not resolve the issue of Google serving the wrong market version, because the pages are effectively the same language. In this situation, canonical tags pointing to your primary market version are a cleaner solution than hreflang.

Can bad hreflang implementation hurt my SEO? Yes. Contradictory hreflang annotations (where canonical and hreflang disagree, or where reciprocal tags are missing) send confusing signals that Google may choose to ignore entirely. In that case, you lose the regional targeting benefit of hreflang without actively being penalised. In the worst case, Google treats your regional variants as duplicate content and consolidates them to a single URL, collapsing your international strategy.