- How to Choose Between Subfolders, Subdomains, and CCtlds in Shopify Markets
- Step-by-Step Configuration for Shopify Markets International SEO Routing
- How to Conduct a Shopify Hreflang Audit to Detect Routing Conflicts
- Fixing Common Shopify Markets Localization Errors (Currency, Language, and Geotargeting)
- What to Avoid
- How to Fix
- Optimizing XML Sitemaps and Canonical Tags for Multi-Market Shopify Stores
- Authoritative References
Misconfigured international routing in Shopify Markets can destroy your existing organic search rankings and cause severe duplicate content penalties across regional subfolders. This guide provides a step-by-step technical blueprint to configure subfolders, fix hreflang conflicts, and secure your global search visibility.
How to Choose Between Subfolders, Subdomains, and CCtlds in Shopify Markets
Shopify Markets international SEO requires choosing the right URL structure: subfolders (domain.com/es) consolidate domain authority and are easiest to maintain; subdomains (es.domain.com) isolate regional authority; ccTLDs (domain.es) offer maximum local trust but require separate domain management and high authority-building costs.
Your choice of domain structure directly impacts how Google crawls, indexes, and ranks your international storefronts. Use the following criteria to make your decision:
- Subfolders (Recommended): Best for most Shopify stores. It consolidates all backlink equity into a single domain, simplifying authority building. If you are changing your current structure, our Shopify Migration Service can help transition your URLs without losing your rankings.
- Subdomains: Best if you operate different business entities, use separate payment gateways, or require distinct inventories per region.
- ccTLDs: Best for established brands with dedicated local marketing budgets. This option requires building search authority from scratch for every individual country domain.
Step-by-Step Configuration for Shopify Markets International SEO Routing
Follow this technical checklist to configure your Shopify Markets routing correctly and prevent search engines from indexing duplicate regional pages.
- Activate Your Target Markets: Navigate to Settings > Markets in your Shopify admin. Click Add Market, select your target countries, and change the status from inactive to active.
- Configure Subfolders: Click Manage > Market Settings on your active market. Select Subfolders as your domain type (e.g.,
/en-cafor Canada) to preserve your root domain authority. - Set Language Mapping: Assign the correct default language to each market. Ensure that fallback languages are defined for multi-language markets like Switzerland or Canada.
- Disable Automatic IP Redirects: Go to Preferences > Geolocation and disable automatic redirects. Hard redirects block search engine bots from crawling regional subfolders and drop your indexation rate.
- Verify Subfolders in Google Search Console: Add and verify each subfolder as a separate URL prefix property in Google Search Console to monitor regional crawl data.
How to Conduct a Shopify Hreflang Audit to Detect Routing Conflicts
Shopify generates hreflang tags automatically, but custom liquid code, third-party translation apps, and routing rules frequently break them. For complex enterprise setups, our Shopify Plus Consulting team can resolve deep-seated liquid code errors affecting your international configuration.
To audit your Shopify store's hreflang implementation, execute the following diagnostic steps:
- Run a Crawl Test: Crawl your site using Screaming Frog. Set the user-agent to Googlebot to view the exact HTML served to search engines.
- Check for Missing Return Tags: Verify that every localized page points back to the primary language page, and that the primary page links back to the localized page.
- Inspect the x-default Tag: Ensure your global fallback page is designated with
hreflang="x-default". This tag must point to your primary market homepage. - Identify Canonical Conflicts: Ensure your canonical tags are dynamic and match the localized subfolder URL exactly, rather than pointing back to the root domain.
Fixing Common Shopify Markets Localization Errors (Currency, Language, and Geotargeting)
What to Avoid
- Force-Redirecting Users by IP: Forcing redirects based on IP addresses prevents Googlebot (which crawls primarily from US IPs) from accessing your European or Asian subfolders.
- Mismatched Currency and Language: Displaying a localized currency (like CAD) on a subfolder that is still hardcoded to US English without proper localization tags.
- Broken Internal Links: Hardcoding root domain links in your header, footer, or collection pages, which forces users out of their regional subfolder.
How to Fix
- Implement Geolocation Banners: Use the official Shopify Geolocation app to display a non-intrusive banner suggesting the correct country store, allowing users and bots to choose their path.
- Enable Multi-Currency: Activate Shopify Payments to dynamically display local currencies based on the subfolder directory. If your theme code is bloated, utilize our Shopify Theme Optimization service to ensure fast loading times across all global regions.
- Use Relative URLs: Update your theme's liquid files to use relative paths (e.g.,
{{ routes.root_url }}) instead of absolute paths to keep users within their designated subfolders.
Optimizing XML Sitemaps and Canonical Tags for Multi-Market Shopify Stores
Shopify automatically generates separate XML sitemaps for each active market subfolder. You must manage these sitemaps actively to ensure fast indexation.
- Submit Regional Sitemaps: Locate your market-specific sitemaps at
domain.com/en-ca/sitemap.xmland submit them individually in Google Search Console. - Enforce Self-Referencing Canonicals: Verify that your theme's
theme.liquidfile contains the canonical tag:<link rel="canonical" href="{{ canonical_url }}">. This prevents cross-market duplicate content penalties. - Block Unwanted Markets: Use your
robots.txt.liquidfile to disallow search engines from crawling draft markets or staging subfolders before they are fully localized.
Authoritative References
Use these official resources to verify platform-specific claims and implementation details before making commercial or technical decisions.
- Shopify Plus overview
- Google SEO Starter Guide
- Google canonicalization guide
- Google structured data introduction
Frequently Asked Questions
How does Shopify Markets handle hreflang tags automatically?
Shopify Markets automatically generates hreflang tags based on your active market configurations, assigned domains, and language settings. When you map a specific language to a regional subfolder, subdomain, or country-code top-level domain (ccTLD) within the Shopify admin, the platform dynamically injects the corresponding rel="alternate" hreflang annotations into your store's theme header. These tags inform search engines like Google about the language and geographical targeting of each page, preventing duplicate content issues across localized storefronts. However, automated generation relies on clean theme code; custom Liquid modifications, third-party translation applications, or hardcoded canonical links can disrupt this automation. To ensure search engine bots crawl and index your international directories correctly, you must verify that every localized URL has a self-referencing canonical tag and a corresponding return link pointing back to the primary market, accompanied by an x-default tag for unmapped global regions.
Why should I disable automatic IP redirects in Shopify Markets?
Automatic IP redirects force users and search engine crawlers to specific regional URLs based on their location. Because Googlebot primarily crawls from United States IP addresses, enabling this feature blocks Google from accessing and indexing your non-US regional subfolders, leading to a severe drop in global organic visibility.
What is a Shopify hreflang audit and how often should I run it?
A Shopify hreflang audit is a technical review of your store's language and regional targeting tags to ensure Google correctly serves the right localized URL to the right audience. You should run this audit quarterly, or immediately after installing translation apps, modifying your theme's Liquid files, or launching new international markets.
Ecommerce manager, Shopify & Shopify Plus consultant with 10+ years of experience helping enterprise brands scale their ecommerce operations. Certified Shopify Partner with 130+ successful store migrations.