LW Era Emblem LW Era Emblem
LW Era
Work Services & Capabilities About Insights Pricing & Retainers Cost Calculator ↗
Start a Project ↗
Shopify International SEO: Hreflang, Subfolders and Domains
Technical SEO

Shopify International SEO: Hreflang, Subfolders and Domains

4 MIN READ
Ranking in the wrong country?

Get your international SEO reviewed.

  • ✓ Automated & custom hreflang tag audit
  • ✓ Subfolder vs ccTLD domain architecture review
  • ✓ Zero duplicate content penalties across regional markets
Get an Estimate ↗
No obligation.
Audit international hreflang, subfolders & multi-market indexing. Claim your free store audit.
Get Free Audit ↗
Table of contents
KEY TAKEAWAYS
  • Hreflang annotations instruct search engines which localized version of a page to display based on user location and language.
  • Shopify automatically outputs hreflang tags for markets configured with discrete subfolders, subdomains, or distinct domains.
  • Subfolder structures (e.g., example.com/en-gb/) represent the best balance of consolidated domain authority and operational simplicity.
  • Forced automated IP redirects break search engine crawler access and should always be replaced by non-intrusive regional recommendation banners.
Executive Summary

Shopify adds hreflang tags for markets that have their own subfolder, subdomain or domain, plus an x-default tag, but markets that share your main URL do not get them. Subfolders are the simplest structure for most brands. Translate content properly and avoid forced country redirects. Verify behavior in your store.

What hreflang does

When an online store serves multiple international markets, search engines need explicit instructions to avoid penalizing identical or near-identical content. hreflang annotations tell Google, Bing, and AI crawlers: "This page is the US English version, this page is the UK English version with GBP pricing, and this page is the Canadian French version."

Without valid hreflang tags, search algorithms struggle to determine which regional page to rank, often showing your US dollar pricing to British searchers or Canadian pages to Australian visitors.

What Shopify handles for you

In modern Shopify stores utilizing Shopify Markets, Shopify natively generates hreflang tags inside the <head> element—provided that the market is configured with its own URL structure (such as a subfolder or distinct domain).

Shopify automatically generates reciprocal links between alternate versions and injects an x-default tag directing global visitors to your primary root URL. However, if multiple international markets share a single generic URL without subfolders, Shopify cannot generate hreflang annotations for them.

INTERNATIONAL SEO AUDIT

Our technical SEO engineers audit international URL hierarchies, hreflang syntax, and localized content to ensure Google ranks the right store in every country.

Talk to Us ↗

Subfolders, subdomains or country domains?

Not sure which platform fits your store?

Tell us about your products and goals. We suggest a platform and share a clear quote.

URL Architecture Example Format Key Advantages Key Trade-Offs
Subfolders (Recommended) lwera.com/en-gb/
lwera.com/fr-ca/
Consolidates all backlink authority onto one root domain; easiest to manage; fastest setup in Shopify. Slightly weaker local brand perception in certain traditional markets.
Country-Code TLDs (ccTLDs) lwera.co.uk
lwera.ca
Maximum local consumer t; strongest regional geo-targeting signal in local SERPs. Domain authority is fragmented; each domain must build its own backlink profile from scratch.
Subdomains uk.lwera.com
ca.lwera.com
Clear technical separation; custom server routing possible. Search engines treat subdomains as semi-independent entities, diluting ranking equity.

For over 90% of scaling direct-to-consumer and enterprise brands, subfolders deliver the highest return on investment by pooling global ranking signals into a single domain authority.

Translate content, not only words

True international SEO extends beyond word-for-word translation. Search queries vary dramatically by locale even within the same language:

  • Regional Terminology: US shoppers search for "sneakers" and "pants"; UK shoppers search for "trainers" and "trousers".
  • Spelling & Units: Adjust spellings (color vs colour, size vs sizing) and ensure shoe and apparel size charts render imperial and metric dimensions accurately.
  • Localized Metadata: Optimize localized meta titles and meta descriptions according to our Shopify SEO checklist.

Redirects by country: be careful

A frequent catastrophic mistake is implementing hard automated IP redirects that immediately force visitors to a specific regional subfolder based on their geographic IP address. Because Googlebot predominantly crawls from California IP addresses, automated redirects trap crawlers in the US version, completely blinding them to your UK, Australian, and European pages.

Best Practice: Render a non-intrusive recommendation banner (e.g., "It looks like you are visiting from the UK. Would you like to shop on our UK store with GBP pricing?") and let the visitor choose.

Separate stores and hreflang

High-volume merchants on Shopify Plus vs Advanced frequently operate separate expansion stores (e.g., distinct Shopify instances for US, UK, and EU). In this architecture, Shopify cannot generate cross-store hreflang tags automatically. You must inject reciprocal hreflang links manually into your theme’s theme.liquid template or utilize an enterprise SEO synchronization script.

Check your work

Verify your international SEO setup systematically:

  1. Inspect Page Source: Search the HTML head for <link rel="alternate" hreflang="en-gb" href="..."> to verify reciprocal linking.
  2. Audit Google Search Console: Check the International Targeting report and URL Inspection tool for localized indexing status.
  3. Crawl with Screaming Frog: Run a crawl with hreflang validation enabled to catch broken or non-canonical target URLs.

Mistakes to avoid

  • Pointing Hreflang to 404 or Redirecting URLs: All hreflang links must resolve directly with a 200 OK status to canonical URLs.
  • Missing Return Links: If page A links to page B as an alternate, page B must link back to page A; missing return tags invalidate the annotation.
  • Overlooking Multi-Currency Signals: Align your SEO URLs with native pricing rules detailed in our Shopify multi-currency guide.

What to do next

Capture international search share without ranking confusion. Review our enterprise Shopify SEO agency services and partner with our Shopify Plus development team to build a compliant, multi-market global storefront.

FAQ

Frequently asked questions

Does Shopify add hreflang tags automatically?

Shopify generates hreflang tags for markets that have their own subfolder, subdomain or domain, plus an x-default tag. Markets that share your main URL do not get them, so check your setup.

Should I use subfolders or country domains?

Subfolders are simpler and share your main domain’s authority. Country domains suit brands that want a strong local identity and can support more setup. Pick one structure and keep it consistent.

Do I need to translate my store for international SEO?

If a market speaks another language, yes: translate content, titles and meta tags with quality translations. For the same language in different regions, adjust currency, spelling and local details.

Should I redirect visitors by country automatically?

Be careful. Forced redirects can block search engines and frate people. Suggest the right market with a banner and let visitors choose.

Can separate Shopify stores rank internationally?

Yes, but hreflang between separate expansion stores is not automatic, so add it in the theme or with an app. Markets inside one store is simpler for most brands.

REQUEST A QUOTE

Get a plan for your store.

✓ Reply within 1 business day · ✓ No obligation

Thanks. We reply within 1 business day.

Your store brief has been safely received. We will review your requirements and follow up with a clear scope and quote.

FAQ & Knowledge Base

Frequently Asked Questions

Clear, direct answers regarding our Shopify agency and ecommerce web design engineering, delivery milestones, and technical standards.

LW Era delivers end-to-end commerce engineering: custom Shopify theme development, enterprise Shopify Plus architecture, headless commerce, CRO audits, and speed optimization. Browse our complete suite of Shopify agency services.

We write clean, bespoke Liquid 2.0 code with minimal app dependencies, optimized image pipelines, and lean asset delivery. Learn about our dedicated speed optimization sprints.

We offer fixed-scope project agreements for builds and migrations, as well as dedicated monthly retainers for scaling brands. Review our transparent pricing and retainer tiers.

Our portfolio features documented case studies showing up to 340% GMV expansion and significant conversion rate lifts. Discover real merchant stories across our case studies.

You can connect directly with our senior technical directors through our online booking form. Schedule your discovery session today to receive a comprehensive proposal within 24 hours.

SPECIALIZED INDUSTRIES & BRANDS

Specialized Industries & Brands

We are a dedicated ecommerce design and development agency crafting custom online stores for ambitious brands. From high-converting storefronts to seamless customer journeys, we help modern retail businesses build, launch, and grow with confidence.

Scroll to Top