Free auditStart free
GuideShopify · International SEO

Shopify hreflang

Configure Shopify Markets URLs and languages, check automatic hreflang tags, and find duplicate-tag or missing-translation issues.

3 min
read
4
sources
Oct 24, 2026
updated
Scaplet Editorial Team
author
In one line

Shopify generates hreflang tags automatically when you assign distinct domains, subdomains, or subfolders and languages to Markets. Keep the automatic setting enabled unless a verified custom implementation replaces it. Publish translations, then inspect rendered alternates and confirm every target URL is a real localized page.

30-second check

Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Shopify Markets URL structures

Choose market URLs before adding alternates

Structure

Subfolder

Example
store.com/fr/
Best fit
Shopify calls it the easiest to set up and manage, with no additional domain registration
Structure

Subdomain

Example
fr.store.com
Best fit
Clear market separation with separate DNS setup
Structure

Country domain

Example
store.fr
Best fit
A distinct country presence with domain registration and management

Shopify Markets uses its market and language configuration to produce alternate URLs and corresponding hreflang tags. Choose the structure you can maintain, publish translated content to distinct URLs, and adapt product details that differ by locale, such as sizes, delivery terms, or regulatory wording.

  • A market needs a distinct domain, subdomain, or subfolder before Shopify has alternate URLs to connect.
  • Shopify says "Hreflang tags are generated only for markets that have a distinct domain, subdomain, or subfolder." If every market uses the same URL, there are no alternate versions to annotate.
  • Shopify also generates canonical URLs and international sitemap entries for configured localized URLs. Inspect all three outputs when a language page is missing.
02How it works

Keep Shopify’s automatic tags on

  1. 1

    Set up domains and languages

    Configure the domain and language for each market in Shopify Markets. Publish the language and its translated content so it resolves at its market URL.

  2. 2

    Check the automatic setting

    In Shopify admin, go to Online Store > Preferences and find Automatic hreflang tags in Social sharing image and SEO. It is on by default; do not switch it off unless your theme or app provides the complete replacement.

  3. 3

    Inspect a live page per market

    Open the public HTML source for a product and a collection in each locale. Confirm the page includes a self-reference and alternate URLs that resolve to the correct language version.

  4. 4

    Check the sitemap and canonical

    Open the international sitemap and inspect the canonical on each localized URL. Shopify says each URL in the sitemap includes hreflang annotations, and each market version has a self-referencing canonical URL.

03Checklist

Validate relationships, not just tag presence

  1. 01Each page should point to itself and to the other equivalent language or regional pages. Google says if page X links to page Y, page Y must link back to page X, or the annotations "may be ignored or not interpreted correctly."
  2. 02Use fully qualified URLs that include the protocol (https://example.com/foo, not /foo). The first code is the ISO 639-1 language code, optionally followed by a region code; a region alone is not valid.
  3. 03Compare equivalent pages. A translated product should map to that product in each market, not to the localized home page.
  4. 04Check that each target returns a successful page and has content in the stated language. An untranslated template does not make a different language page.
  5. 05Do not force geolocation redirects for search crawlers. Shopify says a crawler receives the content for the URL it requested, without being redirected to a different market version.

Google supports HTML, HTTP headers, and XML sitemap annotations as equivalent methods. Shopify supplies its implementation in page tags and sitemaps; avoid layering a second method unless you have a specific architecture that needs it.

See Shopify XML sitemaps, Shopify canonical tags, and Google’s hreflang guide for the related signals.

Questions

Asked a lot.

4 questions people ask next, answered from the sources on this page.

01Does Shopify add hreflang automatically?

Yes, for distinct market URLs configured with a domain, subdomain, or subfolder and language. Shopify enables automatic hreflang tags by default.

02Where is Shopify’s automatic hreflang setting?

In Shopify admin, open Online Store > Preferences and find Automatic hreflang tags in the Social sharing image and SEO section.

03Should I install an hreflang app on Shopify?

First inspect Shopify’s automatic tags. Only use another implementation if it replaces the built-in output; duplicate tags can create inconsistent alternates.

04Why does Shopify send customers to another market, or show no separate URL for that market?

Customer redirection uses location and browser language, while known search crawlers are excluded. For a market to have its own searchable language or regional page, assign it a distinct domain, subdomain, or subfolder and publish the translation. Markets sharing the same URL do not create separate pages for search engines. Check the market assignment and test the localized URL directly.

Sources · 4

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • shopify.com
  • google.com
  1. 01International SEO for markets | Shopify Help Centerhelp.shopify.com · checked 2026-10-24
  2. 02Requirements and considerations for selling in multiple languages | Shopify Help Centerhelp.shopify.com · checked 2026-10-24
  3. 03Tell Google about localized versions of your page | Google Search Centraldevelopers.google.com · checked 2026-10-24
  4. 04Setting up localization for markets | Shopify Help Centerhelp.shopify.com · checked 2026-10-24
Free · 2 minutes

Tools point. Agencies advise. This one ships.

Run the free audit, then approve the fixes. Every change can be undone.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane