Problem: You want to sell to customers in several countries, but you’re not sure whether to host each market on a subdomain (e.g., us.example.com) or a subfolder (e.g., example.com/us). The choice affects SEO, branding, technical work, and ongoing costs.
Below is a practical decision framework you can follow before you sign up for a paid Shopify plan.
1. What the two options actually mean
Both approaches let you serve different languages or regions from a single Shopify store, but they differ in how browsers and search engines see the URLs.
Subdomain
- Separate DNS entry (e.g., uk.myshop.com).
- Can be treated by search engines as a separate site.
- Requires a wildcard SSL certificate or individual certificates for each subdomain.
- Often used when each market needs distinct branding or separate marketing budgets.
Subfolder
- Part of the same domain (e.g., myshop.com/uk).
- Search engines view it as a single site, sharing domain authority.
- SSL is handled by the main domain only – no extra certificates.
- Works well when you want a unified brand and can manage one set of SEO signals.
2. Decision criteria – what to evaluate first
Use the checklist below to rank each factor for your business. Assign a score of 1 (low impact) to 5 (high impact) and total the points.
- SEO strategy – Do you rely on a single authority signal or want each market to rank independently?
- Brand consistency – Will a single brand name work everywhere, or do you need country‑specific branding?
- Technical resources – Do you have access to a developer who can configure DNS, SSL, and redirects?
- Marketing budget – Are you planning separate ad accounts, Google Search Console properties, or analytics views per market?
- Legal / compliance – Some countries require a country‑specific domain (e.g., .ae for UAE) for consumer trust.
- Future scaling – How many additional markets do you anticipate adding in the next 12‑24 months?
When the total score leans toward 4‑5 on SEO and brand consistency, subfolders usually win. When scores are high on separate marketing budgets, legal constraints, or you need distinct SSL certificates, subdomains may be the safer bet.
Referral disclosure: Nextpath Solutions may receive a referral fee if you create a Shopify account through these links.
3. Step‑by‑step decision process
Follow these ordered steps before you create a Shopify account.
- Define your target markets. List each country, primary language, and expected traffic share.
- Check domain availability. Use a registrar (e.g., GoDaddy) to see if the exact .com you want is free. If not, note any viable country‑code alternatives (.ae, .sa, etc.).
- Map SEO goals. Write a brief note: “I want all markets to benefit from one domain authority” or “I need each market to rank for its own country‑specific keywords.”
- Assess technical capacity. Ask yourself: Do I have a developer who can add DNS records for uk.example.com? If not, subfolders avoid that step.
- Calculate cost impact. Subdomains may need a wildcard SSL (often $50‑$150 per year from a provider) and extra DNS management time. Subfolders incur no extra cost beyond the main domain.
- Validate legal requirements. Look up each country’s e‑commerce consumer‑trust guidelines (e.g., Saudi Arabia’s NCA recommends a local TLD for certain categories). Note any mandatory requirements.
- Make a provisional choice. Record your decision and the reasons. Keep it flexible – you can switch later, but it will involve URL redirects and SEO work.
- Plan redirects. Draft a simple 301‑redirect map (e.g., /uk → uk.example.com if you later change structure).
4. Realistic hypothetical example
Assumptions
- Owner: Ahmed, based in Pakistan, launching a fashion brand.
- Target markets: Pakistan (PK), Saudi Arabia (SA), United Arab Emirates (AE).
- Primary language: English for SA and AE, Urdu for PK.
- Budget for domain and SSL: $200 initial, $30/year for renewal.
Decision walk‑through
- Domain check – trendstyle.com is available; country‑code alternatives (.pk, .sa) are also free.
- SEO goal – Ahmed wants the brand to rank quickly in all three markets, leveraging a single authority.
- Technical capacity – He has a freelance developer comfortable with DNS but prefers a simpler setup.
- Cost – A wildcard SSL for *.trendstyle.com costs $120/year. Using subfolders avoids this extra fee.
- Legal – No Saudi regulation forces a .sa domain for fashion goods.
- Result – Ahmed chooses trendstyle.com with subfolders: trendstyle.com/pk, trendstyle.com/sa, trendstyle.com/ae. He sets up language redirects in Shopify’s locale settings and adds hreflang tags for each region.
If later a Saudi partner insists on a .sa domain, Ahmed can add sa.trendstyle.com and 301‑redirect the subfolder to the subdomain, preserving SEO equity.
5. Common mistakes and how to fix them
- Mixing structures without redirects. Adding a subdomain later without 301 redirects can cause duplicate‑content penalties. Fix: Always map old URLs to new ones.
- Forgetting hreflang tags. Search engines may serve the wrong language to users. Fix: Use Shopify’s theme.liquid to insert proper hreflang markup for each region.
- Over‑complicating with many TLDs. Each TLD needs separate SSL, renewal, and branding effort. Fix: Start with a single .com and subfolders; add country‑code domains only if legally required.
- Neglecting analytics segmentation. Without separate views, you can’t see market‑level performance. Fix: Set up filtered Google Analytics views or use Shopify’s built‑in sales‑by‑location reports.
6. Practical pre‑launch checklist
- ☑ List target countries and languages.
- ☑ Verify primary domain availability (prefer .com).
- ☑ Decide subdomain vs subfolder based on the scoring table.
- ☑ Confirm any legal requirement for a country‑code TLD.
- ☑ Estimate SSL and DNS costs (wildcard SSL if using subdomains).
- ☑ Draft a 301‑redirect map for future changes.
- ☑ Prepare hreflang tag list for each market.
- ☑ Set up separate Google Analytics filters or Shopify reports for each region.
- ☑ Document the decision and share with any developer or agency you might hire.
7. FAQs
Do subdomains hurt my SEO compared to subfolders?
Search engines treat subdomains as separate sites, so you need to build authority for each one. Subfolders inherit the main domain’s authority, which can be faster for new markets.
Can I change from subfolders to subdomains after launch?
Yes, but you must implement 301 redirects for every page, update hreflang tags, and inform Google Search Console of the change. Expect a temporary dip in rankings.
Is a wildcard SSL necessary for subdomains?
Only if you host multiple subdomains on the same domain. Otherwise, you can purchase individual certificates for each subdomain, which may be cheaper for a small number of markets.
Do I need a separate Shopify store for each country?
No. Shopify supports multiple languages and currencies within a single store. Subdomains or subfolders are just URL structures; the backend remains one store.
Conclusion
Choosing between a subdomain and a subfolder is a foundational pre‑launch decision. By scoring your SEO goals, branding needs, technical capacity, and legal constraints, you can pick the structure that minimizes cost, reduces complexity, and supports future growth. Follow the step‑by‑step process, use the checklist, and you’ll avoid the common pitfalls that cause duplicate content, broken redirects, or unexpected SSL expenses. Once the decision is documented, you’re ready to move on to the next items on your Shopify pre‑launch checklist, such as payment eligibility and supplier due diligence.