Skip to main content
Shopify SEO Agency

Shopify SEO guide

Shopify Markets SEO: Domains, Subfolders, Hreflang and Translation

How Shopify Markets handles domains, subfolders, hreflang, canonicals, translated URLs, redirects and sitemaps, and what you still have to configure and check.

By the Shopify SEO Agency editorial team Updated 16 min read 18 primary sources

Key takeaways

  • Shopify Markets generates hreflang tags, including x-default, and self-referencing canonicals automatically, but only for markets that have their own subfolder, subdomain or domain.
  • Shopify recommends subfolders for most stores because they share the primary domain's authority; country domains give the strongest local signal but have to build authority on their own.
  • Translate & Adapt can translate URL handles and SEO titles and descriptions, but automatic translation skips handles, the /products/ path segment stays in English, and handles can't differ by market.
  • Shopify redirects shoppers by IP address and browser language, but it says crawlers get the content of the URL they requested, which matches Google's advice against automatic locale redirects.
  • Same-language markets such as US, Canada, UK and Australia rely on hreflang plus real localization (price, currency, shipping, spelling) to avoid being treated as one page.
  • Shopify's URL redirect documentation contradicts itself on market subfolders, so test every redirect with each subfolder prefix.

Shopify Markets SEO mostly comes down to three decisions and a lot of checking. You decide how each market is addressed (subfolder, subdomain or separate domain), which languages each market shows, and how much content you actually localize. Shopify then generates the hreflang tags, self-referencing canonicals and market sitemaps for you, as long as each market has its own URL.

What Shopify does not do is translate well, localize your copy, redirect old URLs into every subfolder reliably, or stop apps from adding a second set of hreflang tags. Those gaps are where international Shopify stores lose traffic. This guide explains what the platform does by default, where each fix lives, and how to choose a setup. For the wider picture of Shopify SEO, start with our Shopify SEO guide; for how market URLs fit into duplicate-content handling, see the duplicate content guide.

How Shopify Markets structures an international store

A market in Shopify is a group of one or more countries or regions that share settings: currency, pricing, languages, domain and so on. Shopify’s Plus plan page says “All Shopify plans include an unlimited number of country or region markets.” Markets can also contain submarkets, which inherit their parent’s domain and language settings unless you override them.

There are two architectures:

  • One store, many markets. One admin, one catalog, one theme. Each market gets its own subfolder, subdomain or domain, and Shopify connects them with hreflang. This is the setup the rest of this guide describes.
  • Expansion stores (Shopify Plus). Shopify’s Plus plan page says the plan “supports 9 expansion stores” for “internationalization, separate physical locations, and other related purposes,” and that each live expansion store needs its own theme license. Each is a separate Shopify store with its own admin and catalog.

The SEO difference matters. Shopify’s Markets documentation describes hreflang being generated “based on your market and language configuration,” which is the configuration of a single store. We found no Shopify documentation describing automatic hreflang between separate expansion stores. If you run expansion stores on different domains for the same products, plan on building and maintaining cross-store hreflang yourself, and treat that as a real cost when comparing the two models. This is one of the areas we cover in Shopify Plus SEO work.

Subfolders vs subdomains vs country domains

Shopify offers three ways to address a market, and you can mix them:

URL type Example What Shopify says
Subfolder example.com/en-ca Recommended for most stores; shares domain authority with the primary domain
Subdomain ca.example.com Treated as a separate site by some search engines; needs DNS for each subdomain
Top-level domain example.fr Strongest local signal; separate registration and management per country

Shopify’s international domains page calls subfolders “the simplest options because they’re easy to set up and offer optimal SEO benefits.” It says subdomains “might not benefit as strongly as subfolders from your primary domain’s search ranking and keywords,” and advises: “Only use top-level domains when you have a specific targeting strategy for a new market that you’re expanding into.” International domains need a custom domain and the Basic plan or higher, and selling in multiple currencies needs Shopify Payments.

Google’s multi-regional guidance lines up with this. It lists country-code domains as giving “clear geotargeting” but notes they can be expensive and have limited availability; subdirectories are “low maintenance (same host)”; and URL parameters such as ?loc=de are “not recommended.” Google also says country-code domains are a strong signal of country intent, while server location “is not a definitive signal.”

Language-only and language-country subfolders

Shopify creates the URL path for you when you publish a language or add a market. Its theme documentation gives /fr for a French locale and /en-ca for a Canada market. One rule catches people out: Shopify says language-only subfolders such as /fr or /en “can only exist on your primary market.” Every other market needs a language-country code such as /fr-ca.

You assign these in the admin under Markets: open the market, add a Domain / language, choose subfolder, subdomain or separate domain, then pick the language. A separate domain must first be connected in Settings > Domains, and languages must be added in Settings > Languages before you can assign them.

How Shopify generates hreflang tags

Shopify’s Markets SEO page states: “Hreflang tags are generated automatically based on your market and language configuration.” The details that matter:

  • Distinct URLs only. “Hreflang tags are generated only for markets that have a distinct domain, subdomain, or subfolder.” A market that shares the primary domain’s URLs gets no hreflang of its own, so it can’t be targeted in search separately.
  • x-default. Shopify adds an x-default tag pointing to the backup region’s market URL in that market’s default language. Google describes x-default as the version used “when no other language/region matches the user’s browser setting.”
  • Product availability. Product pages only get hreflang tags for the markets that include that product.
  • Automatic updates. Tags change when you change market domains or languages.
  • Where it’s output. Shopify’s theme documentation says it “automatically includes hreflang tags through the content_for_header object.” A theme that doesn’t render {{ content_for_header }} in theme.liquid won’t output them. Every Theme Store theme does, but check custom themes.

Google’s rules for hreflang are strict, which is a good reason to let Shopify generate them. “Each language version must list itself as well as all other language versions,” alternate URLs must be fully qualified, and “If two pages don’t both point to each other, the tags will be ignored.” Google accepts a language code on its own or a language plus region, but “You can’t specify the country code by itself.”

The output looks like this (illustrative, for a store with a US primary market and Canadian English and French subfolders):

<link rel="alternate" hreflang="en-US" href="https://example.com/products/linen-shirt">
<link rel="alternate" hreflang="en-CA" href="https://example.com/en-ca/products/linen-shirt">
<link rel="alternate" hreflang="fr-CA" href="https://example.com/fr-ca/products/chemise-lin">
<link rel="alternate" hreflang="x-default" href="https://example.com/products/linen-shirt">

Turning automatic hreflang off

Automatic hreflang is on by default. You can switch it off under Online Store > Preferences, in the “Social sharing image and SEO” section. Shopify warns: “Turning off automatic hreflang tags can negatively affect your store’s SEO.” Its domains page adds that if you do, “you need to add your own hreflang tags to your theme.”

The only good reasons to turn it off are a headless front end or a deliberate custom implementation that you will maintain. Before turning it back on, Shopify says to remove custom hreflang tags from the theme and make sure no app or custom code will add new ones.

Canonical tags per market

Shopify sets canonicals automatically, and per its Markets SEO page each market version “has a self-referencing canonical URL and hreflang tags that connect all versions together.” So example.com/en-ca/products/linen-shirt should canonicalize to itself, not to the US URL.

This is correct. Google ignores hreflang between pages when one canonicalizes to another, because only the canonical gets indexed. A common and damaging Markets bug is a theme snippet or SEO app that hardcodes the canonical to the primary domain, for example by building it from shop.url plus the handle instead of using canonical_url. That quietly removes every market version from the index. View source on a few subfolder URLs and confirm the canonical contains the subfolder.

Same-language markets: US, Canada, UK and Australia

Many US brands expand first into other English-speaking countries. That raises the question of whether /en-ca, /en-gb and /en-au are duplicates of the US pages.

Google’s localized-versions page says: “Localized versions of a page are only considered duplicates if the main content of the page remains untranslated.” English-to-English pages are, by that definition, likely duplicates. Hreflang still helps: Google’s guidance covers content with “small regional variations with similar content, in a single language,” and its multi-regional page says that for similar or duplicate content in the same language across regions, you should “pick a preferred version and use the rel=“canonical” element and hreflang tags” so the right regional URL is shown. In practice, Google may index one version and swap in the regional URL in results.

What separates the versions is localization you actually do:

  • Local currency and prices, which Markets handles.
  • Shipping costs, delivery times, duties and return terms for that country.
  • Spelling and terms (color vs colour, sweater vs jumper) in titles and descriptions.
  • Local sizing, regulatory or warranty text where it differs.

Shopify also warns about one specific setup: “If you add two domains that target the same language, then search engines might flag this as duplicate content,” and recommends that each domain added to one market targets a different language. Our duplicate content guide covers how to diagnose Markets duplicates in Search Console.

Translating content, metadata and URL handles

Shopify serves each published language at its own URLs; its Markets SEO page says “Translated pages are served at market-specific URLs.” The work is in the translations themselves. Shopify’s own tool is the Translate & Adapt app (Apps > Translate & Adapt), and third-party translation apps use the same translation API.

What can be translated

Shopify’s Admin API lists the translatable fields for each resource. For SEO, the important part is that the meta fields and handles are included:

Resource Translatable fields
Product title, body_html, handle, product_type, meta_title, meta_description
Collection title, body_html, handle, meta_title, meta_description
Page title, body_html, handle, meta_title, meta_description
Article title, body_html, summary_html, handle, meta_title, meta_description
Blog title, handle, meta_title, meta_description

Shopify’s requirements page lists content Translate & Adapt can’t translate, including collection filters, product images, tags, Shopify Forms forms, and third-party app content that isn’t stored as a Shopify translatable resource or locale file. If an app renders review text, size charts or FAQs from its own servers, check how that app handles languages.

Translated URL handles

Handles can be translated, which most international SEO checklists assume is impossible on Shopify. The details, from Shopify’s Translate & Adapt documentation:

  • “Automatic translation doesn’t include URL handles, so you need to add a translated URL handle manually for each language.” You enter it in the URL handle row of the translation editor.
  • “When you create a translated URL handle, a redirect is created from the default language URL to the translated URL.”
  • “Sitemaps are updated to include translated URL handles.”
  • The fixed path segment doesn’t change: handles “can be translated” but “the word products can’t be translated.” So you get /fr-ca/products/chemise-lin, not /fr-ca/produits/chemise-lin.
  • “URL handles can’t be customized for markets.” A French handle applies everywhere French is shown, and translations must be added for URL handles “on all markets where a language is visible.”

One caution from Shopify’s developer docs: if you later change a product’s handle in the default language, “URL redirects for that product won’t be supported for language-specific URLs.” Plan handle changes carefully and add redirects for translated URLs by hand.

Translate handles for the products and collections you expect to rank in that language. A French page at an English handle still works, but a translated handle matches the language of the page and the searcher.

Adapting content per market

Beyond translation, Translate & Adapt lets you “localize images, videos, and logos, translate URL handles, and customize content for specific markets.” Content can only be customized in languages added to that market, and you can customize the default language when it’s shown in several markets. That is the tool for writing UK-specific English copy or Canada-specific shipping text without creating separate products.

Machine translation quality

Translate & Adapt includes “AI translations from Shopify,” and in some countries an Auto-sync feature keeps automatic translations updated weekly. Automatic translation is a reasonable first draft, not a finished product. Common problems are mistranslated product attributes, untranslated theme strings, literal translations of brand terms, and SEO titles that are fine grammatically but don’t use the words local shoppers search for. Google’s spam policies list automated translation among the techniques used in scaled content abuse when it’s applied to scraped content “where little value is provided to users.” Translating your own catalog isn’t that, but quality still decides whether the pages rank. Have a fluent reviewer check at least your top collections, best-selling products and SEO titles and descriptions in each language.

Currency and prices in structured data per market

Markets shows each market in its own currency. Your product structured data has to follow. Shopify’s theme documentation says to “ensure that the priceCurrency property is set to reflect the cart currency,” rather than the shop’s base currency, and gives cart.currency.iso_code as the value:

"offers": {
  "@type": "Offer",
  "price": {{ product.selected_or_first_available_variant.price | divided_by: 100.0 | json }},
  "priceCurrency": {{ cart.currency.iso_code | json }},
  "availability": "https://schema.org/{% if product.available %}InStock{% else %}OutOfStock{% endif %}"
}

Google’s merchant listing documentation requires price and priceCurrency in the offer. Problems show up when a theme or app hardcodes "priceCurrency": "USD" while the /en-ca page shows Canadian dollars. Check one product URL per market in the Rich Results Test or URL Inspection and confirm the markup matches the visible price. Our Shopify structured data guide covers the full Product markup, including the subunit detail for variant.price.

Visitor redirection after the Geolocation app shutdown

Shopify’s Geolocation app was shut down and uninstalled from stores on March 24, 2025. Shopify says several built-in features “reduce the need” for it, namely automatic domain redirection and automatic browser language redirection. According to its domains and languages page, this redirection “is based on the customer’s IP address and browser language preferences,” and when shoppers change country or language with the store’s selectors, “their preference is saved for future visits.” Customers from the EU aren’t automatically redirected within the EU. Stores using an EU top-level domain that still need consent-based localization can get it from a third-party geolocation app.

For SEO, the key line is on Shopify’s Markets SEO page: automatic redirection applies to customers, not crawlers. Shopify warns: “Redirecting crawlers based on location would cause them to index only one version of your store.” Crawlers get the content of the URL they requested.

That matches Google. Its multi-regional guidance says to “Avoid automatically redirecting users from one language version of a site to a different language version,” and its locale-adaptive documentation notes that Googlebot’s default IP addresses “appear to be based in the USA” and that it sends requests without an Accept-Language header. A store that redirects by IP without exempting crawlers risks Google only ever seeing the US version. Google recommends “separate locale URL configurations” annotated with hreflang, which is what Markets builds.

What to check:

  • Don’t add a geolocation or redirect app that force-redirects every visitor, and if you use one, confirm it exempts crawlers and lets users go back.
  • Keep a visible country and language selector. Shopify’s theme docs say to output a country selector only when there is more than one country, and a language selector only when there is more than one language, both inside the localization form.
  • Use deep links for campaigns. Shopify documents parameters such as example.com?country=DE to send ad traffic to the right market without relying on redirects.

Market-specific URL redirects

Redirects are where Markets setups break most often, and Shopify’s documentation doesn’t help. The URL redirects help page says both “URL redirects don’t automatically apply to all market subfolders” and “Creating a URL redirect applies to all language or market subfolders set up using international sales tools,” with an example of a single redirect working for /en-ca too. Until Shopify resolves that, test.

  1. After creating a redirect in Content > Menus > URL redirects, request the old URL with each subfolder prefix (/en-ca/…, /en-gb/…, /fr-ca/…) and confirm each reaches the right page.
  2. If one doesn’t, create individual redirects for that subfolder. Shopify says you can always create per-subfolder redirects, which is also how you send each market to a different destination.
  3. When you deactivate or remove a market that used subfolders or a domain, its URLs return 404. Shopify’s domains page says to use URL redirects so visitors “aren’t sent to a non-existent page.”
  4. Remember that a product not included in a market returns the store’s 404 page at that market’s URL, for customers and crawlers alike. Removing a product from a market is effectively deleting that market’s URL.

Shopify’s redirect rules still apply: you can only redirect from URLs that are broken, and a URL that still loads a page won’t redirect.

Hiding a product in one market only

The seo.hidden metafield hides a product in all markets, so Shopify says it can’t be used for a single market. Its suggested alternative is a conditional noindex in the theme. A simple version keyed on the market’s country (test it with URL Inspection, since the logic depends on your setup):

{%- if template.name == 'product' and localization.country.iso_code == 'CA' and product.metafields.custom.noindex_ca.value == true -%}
  <meta name="robots" content="noindex">
{%- endif -%}

Sitemaps per market

Shopify generates sitemaps automatically, and its Markets SEO page says they include market-specific URLs with hreflang annotations for each URL. Adding a market with its own subfolder, subdomain or domain updates the sitemap. With international domains, Shopify generates a sitemap for every domain, and the domains page notes “Your sitemaps also include all published languages.” Each market’s sitemap lists only the products available in that market.

You can’t edit these files, and you don’t need to. Because hreflang is in both the HTML and the sitemap, you are covered either way; Google says using several methods at once has “no benefit in Search,” but it doesn’t hurt.

Search Console setup for subfolders vs domains

Shopify recommends that you “consider submitting a sitemap for every domain and subdomain in Google Search Console.” How you structure properties depends on your URL setup:

  • Subfolders. A Domain property covers “that domain and all subdomains and protocols” but needs DNS verification. Add a URL-prefix property for each market subfolder, such as https://example.com/en-ca/, to get per-market Performance and indexing data. Google’s own example recommends separate properties for country subfolders plus one covering the whole site.
  • Subdomains. One Domain property covers them all; add URL-prefix properties per subdomain for clean reporting and submit each subdomain’s sitemap.
  • Country domains. Each domain is its own property and needs its own verification and sitemap submission.

Google allows up to 1,000 properties per Search Console account, so this scales. Don’t look for country targeting: Google says “The International Targeting report has been deprecated” and country targeting “is no longer supported.” Hreflang, country-code domains and on-page signals are what’s left. To monitor hreflang now, use URL Inspection on market URLs, the Page indexing report for “Duplicate, Google chose different canonical than user,” and a crawler that validates hreflang return links.

Common Markets SEO mistakes

  • Duplicate hreflang from apps. Translation or geolocation apps, or older custom theme code, add a second hreflang set alongside Shopify’s. Conflicting sets with different URLs or codes confuse Google. Search the rendered HTML for hreflang and count the sets.
  • Hardcoded canonicals. Theme or app canonicals pointing every market to the primary domain.
  • Turning off automatic hreflang without a replacement. Shopify’s domains page notes that you then need to add your own tags.
  • Untranslated metadata. Body copy translated, but meta_title and meta_description left in English, so search results show English snippets for French pages. These fields are translatable; check them.
  • Unreviewed machine translation on high-value pages.
  • Markets without their own URL. A market sharing the primary domain gets no hreflang and can’t be targeted.
  • Two same-language domains in one market, which Shopify warns may be flagged as duplicate content.
  • Forced IP redirects that send Googlebot to the US version every time.
  • Untested redirects in subfolders, and deactivated markets left returning 404.
  • Hardcoded URLs in theme code. Shopify’s theme docs say “you should avoid hardcoding URLs” and use object url attributes or the routes object, so links stay inside the visitor’s market subfolder.
  • Wrong priceCurrency in structured data for non-USD markets.

Most of these belong in a regular audit after theme updates and app installs. The Shopify SEO checklist includes the Markets checks, and our technical Shopify SEO service covers hreflang and redirect testing across markets.

Choosing a setup: decision table

Setup Pros Cons Best for
Subfolders on one store (/en-ca, /fr-ca) Shopify’s recommendation; shares primary domain authority; one sitemap index; automatic hreflang and canonicals Single host; same-language markets need real localization to stand apart Most brands adding countries or languages
Subdomains on one store (ca.example.com) Clear separation; automatic hreflang still applies DNS per subdomain; may not benefit as strongly from the primary domain; more Search Console setup Teams with an existing subdomain structure to keep
Country domains on one store (example.fr) Strongest local signal; automatic hreflang still applies Each domain builds authority separately; registration and management per country; slowest to grow Committed, long-term markets where a local domain matters to buyers
Expansion stores on Plus Separate catalog, pricing, apps and operations per region We found no documented automatic hreflang across stores; duplicated content and redirect work; theme license per live store Regions that need a different catalog, legal entity or operations
Primary domain only, no market URLs Simplest No hreflang; Shopify says this “won’t help you acquire SEO traffic from secondary markets” Stores that sell abroad but don’t target foreign search

If you’re weighing a move from one structure to another, treat it as a migration with redirect mapping for every market URL, not a settings change.

Sources

Technical statements in this guide were checked against these primary sources on the dates shown. See our editorial policy.

  1. International SEO for markets (Shopify Help Center) (accessed November 30, 2026)
  2. Managing international domains (Shopify Help Center) (accessed November 30, 2026)
  3. Domains and languages for markets (Shopify Help Center) (accessed November 30, 2026)
  4. Shopify Plus plan (Shopify Help Center) (accessed November 30, 2026)
  5. Translate & Adapt: manual translation (Shopify Help Center) (accessed November 30, 2026)
  6. Translate & Adapt: requirements and considerations (Shopify Help Center) (accessed November 30, 2026)
  7. TranslatableResourceType (Shopify GraphQL Admin API) (accessed November 30, 2026)
  8. Manage translations of merchant-provided content (shopify.dev) (accessed November 30, 2026)
  9. Support multiple currencies and languages in themes (shopify.dev) (accessed November 30, 2026)
  10. URL redirects (Shopify Help Center) (accessed November 30, 2026)
  11. Finding and submitting your sitemap (Shopify Help Center) (accessed November 30, 2026)
  12. Tell Google about localized versions of your page (Google Search Central) (accessed November 30, 2026)
  13. Managing multi-regional and multilingual sites (Google Search Central) (accessed November 30, 2026)
  14. How Google crawls locale-adaptive pages (Google Search Central) (accessed November 30, 2026)
  15. The International Targeting report is deprecated (Search Console Help) (accessed November 30, 2026)
  16. Add a website property to Search Console (Search Console Help) (accessed November 30, 2026)
  17. Spam policies for Google web search (Google Search Central) (accessed November 30, 2026)
  18. Merchant listing structured data (Google Search Central) (accessed November 30, 2026)

Want specialists to handle this for you?

We fix Shopify SEO issues in your theme and settings, then report what changed and what it earned.