International SEO skill 03 of 13

International Site Structure: ccTLDs, Subfolders and Subdomains SKILL.md

The International Site Structure skill makes Claude, Codex or another AI agent choose and design how international versions are organised: country-code domains, subfolders, subdomains or parameters. It weighs authority, cost, operations, legal and brand needs, accounts for Google’s generic ccTLDs, designs language and country URL patterns and translated slugs, and plans crawlable version selection with non-forcing banners and x-default.

international-site-structure/SKILL.md, version 1.0.0, 1,597 words.

How you structure international versions decides how search engines find them, how authority flows between them, how much each market costs to run and how hard it is to change later. The choice between country-code domains (example.de), subfolders (example.com/de/), subdomains (de.example.com) and parameters (example.com?lang=de) is one of the most consequential and least reversible decisions in international SEO.

This skill compares structures for a specific business, recommends one, designs the URL patterns for language and country, and plans how users and crawlers reach each version without forced redirects.

Operating principles

  1. Every version needs its own crawlable URL. Cookie- or IP-based switching on one URL hides versions from search engines.
  2. Choose for the business, not for theory. Brand, legal entities, teams, budgets and markets matter as much as SEO.
  3. Consolidation usually helps smaller sites. Subfolders share authority across markets on one domain.
  4. Don't force redirects by IP or browser language. Suggest the right version with a banner instead.
  5. Plan for growth. The structure should scale to the next five markets without a migration.

Structure comparison

OptionExampleStrengthsWeaknessesTypical fit
ccTLDexample.deStrongest country signal; local trust; legal claritySeparate authority per domain; higher cost; domain availabilityLarge brands with local entities and budgets
Subfolderexample.com/de/Shares domain authority; simple to run; one propertyWeaker country signal than ccTLDMost growing businesses
Subdomainde.example.comSeparate hosting or platforms possibleOften treated more separately; more work to build authorityDifferent platforms or teams per market
gTLD with parametersexample.com?lang=deEasy to implementHard to manage and target; weak signalsRarely recommended
Different domains per language (not country)example-fr.comBrand reasonsFragmented authorityRare

Google treats some country-code domains (such as .io, .co and .ai) as generic, so they don't signal a country. Google removed the manual country-targeting setting from Search Console in 2022, which makes structure and hreflang more important for gTLDs. [Confirmed, Google]

URL pattern design

NeedPatternExample
Language only/{lang}//de/, /fr/
Country and language/{lang}-{country}//de-at/, /fr-ch/
Country only (single language each)/{country}//uk/, /au/
Translated slugsLocalised paths/de/preise/ instead of /de/pricing/

Use lowercase, consistent separators and stable patterns; translated slugs help users and can help relevance, but keep a mapping for hreflang.

When to use, and when not to

Use it before launching international versions, when restructuring an existing international site, when acquiring local domains and when versions are currently chosen by cookie or IP.

Don't use it for hreflang details (hreflang-implementation) or migration execution (international-expansion-migration).

Inputs to ask for, in one message

  1. Current and planned markets and languages.
  2. Business setup: legal entities, local teams, budgets per market.
  3. Platform and CMS capabilities (multisite, translations, routing).
  4. Current domains and how versions are served.
  5. Brand constraints and domain ownership.

Raw SKILL.md file

.md

This is the exact file agents read, including the credit header and licence notice. Save it as international-site-structure/SKILL.md.

---
name: international-site-structure
description: "Choose and design the structure for international versions: ccTLDs versus subfolders versus subdomains versus parameters, trade-offs for authority, cost, operations, legal and brand, Google's generic ccTLDs, language and country URL patterns, translated slugs, crawlable version selection with non-forcing banners and x-default planning. Use whenever someone asks whether to use ccTLDs, subdomains or subfolders for international SEO, how to structure multilingual URLs, language switchers, geo-redirects or setting up a new country site."
license: CC-BY-4.0
metadata:
  author: Afeez Adebayo
  author_url: https://afeezadebayo.com
  author_linkedin: https://www.linkedin.com/in/afeez-adebayo/
  author_x: https://x.com/za_icon
  source: https://afeezadebayo.com/skills-md/marketing/international-seo/international-site-structure/
  category: marketing
  subcategory: international-seo
  version: "1.0.0"
  created: "2026-10-10"
  updated: "2026-10-10"
---

# International Site Structure: ccTLDs, Subfolders and Subdomains

How you structure international versions decides how search engines find them, how authority flows between them, how much each market costs to run and how hard it is to change later. The choice between country-code domains (example.de), subfolders (example.com/de/), subdomains (de.example.com) and parameters (example.com?lang=de) is one of the most consequential and least reversible decisions in international SEO.

This skill compares structures for a specific business, recommends one, designs the URL patterns for language and country, and plans how users and crawlers reach each version without forced redirects.

## Operating principles
1. **Every version needs its own crawlable URL.** Cookie- or IP-based switching on one URL hides versions from search engines.
2. **Choose for the business, not for theory.** Brand, legal entities, teams, budgets and markets matter as much as SEO.
3. **Consolidation usually helps smaller sites.** Subfolders share authority across markets on one domain.
4. **Don't force redirects by IP or browser language.** Suggest the right version with a banner instead.
5. **Plan for growth.** The structure should scale to the next five markets without a migration.

## Structure comparison
| Option | Example | Strengths | Weaknesses | Typical fit |
|---|---|---|---|---|
| ccTLD | example.de | Strongest country signal; local trust; legal clarity | Separate authority per domain; higher cost; domain availability | Large brands with local entities and budgets |
| Subfolder | example.com/de/ | Shares domain authority; simple to run; one property | Weaker country signal than ccTLD | Most growing businesses |
| Subdomain | de.example.com | Separate hosting or platforms possible | Often treated more separately; more work to build authority | Different platforms or teams per market |
| gTLD with parameters | example.com?lang=de | Easy to implement | Hard to manage and target; weak signals | Rarely recommended |
| Different domains per language (not country) | example-fr.com | Brand reasons | Fragmented authority | Rare |

Google treats some country-code domains (such as .io, .co and .ai) as generic, so they don't signal a country. Google removed the manual country-targeting setting from Search Console in 2022, which makes structure and hreflang more important for gTLDs. [Confirmed, Google]

## URL pattern design
| Need | Pattern | Example |
|---|---|---|
| Language only | /{lang}/ | /de/, /fr/ |
| Country and language | /{lang}-{country}/ | /de-at/, /fr-ch/ |
| Country only (single language each) | /{country}/ | /uk/, /au/ |
| Translated slugs | Localised paths | /de/preise/ instead of /de/pricing/ |
Use lowercase, consistent separators and stable patterns; translated slugs help users and can help relevance, but keep a mapping for hreflang.

## When to use, and when not to
Use it before launching international versions, when restructuring an existing international site, when acquiring local domains and when versions are currently chosen by cookie or IP.

Don't use it for hreflang details (`hreflang-implementation`) or migration execution (`international-expansion-migration`).

## Inputs to ask for, in one message
1. Current and planned markets and languages.
2. Business setup: legal entities, local teams, budgets per market.
3. Platform and CMS capabilities (multisite, translations, routing).
4. Current domains and how versions are served.
5. Brand constraints and domain ownership.

## Workflow

### Step 1. List requirements
Markets, languages, legal entities, separate catalogues or prices, local teams and platform limits.

### Step 2. Compare options
Score ccTLD, subfolder and subdomain against SEO, cost, operations, legal and brand needs.

### Step 3. Recommend and justify
State the choice with trade-offs, and where it might change later (for example a ccTLD for a large market once a local entity exists).

### Step 4. Design URL patterns
Language and country codes, slug translation rules, handling of shared pages and the default version.

### Step 5. Design version selection
Crawlable links between versions (a language selector with links, not only scripts), a non-forcing suggestion banner based on browser language or location, and remembered user choice.

### Step 6. Plan the default and x-default
What users from unserved markets see, and which URL acts as x-default.

### Step 7. Plan implementation
Routing, CMS setup, sitemaps per market, Search Console and Bing properties per version.

## Language selector checklist
- Visible on every page, usually in the header or footer.
- Plain links (a href) to the equivalent page in each language, not only to home pages.
- Language names written in their own language (Deutsch, Fran\u00e7ais), not flags alone; flags represent countries, not languages.
- Remembers the user's choice and doesn't override it on the next visit.
- Falls back to the closest equivalent page when a translation doesn't exist.
- Works without JavaScript so crawlers can follow it.

## Decision guide
| Question | If yes | If no |
|---|---|---|
| Do you have separate legal entities and budgets per country? | ccTLDs become realistic | Prefer subfolders |
| Do markets need different platforms or catalogues? | Subdomains or ccTLDs may be simpler | Subfolders |
| Is the domain young or weak? | Subfolders to concentrate authority | Any option can work |
| Do you need the strongest local trust signal (for example a .de)? | ccTLD for that market | Subfolder |
| Will you add many markets soon? | Subfolders scale fastest | Either |

## Default and root page handling
- Decide what the root URL (/) shows: the main market, a global English version or a language chooser.
- Avoid the same content at / and /en/; pick one and redirect or canonicalise the other.
- If / is a chooser, make it useful (links to each version with short descriptions) and set it as x-default.
- Never redirect / automatically by IP; show a banner instead.

## Costs to compare
| Cost | ccTLD | Subfolder | Subdomain |
|---|---|---|---|
| Domains and renewals | Per country | One | One |
| Hosting and platforms | Often separate | Shared | Shared or separate |
| Search Console and analytics | Per domain | One property with folder views | Per subdomain |
| Link building | Per domain | Shared authority | Partly separate |
| Legal and brand management | Per domain | Central | Central |

## Search Console setup for subfolders
Add a domain property for the whole site, then URL-prefix properties for each locale folder (example.com/de/) so each market team sees its own performance, indexing and sitemaps.

## Edge cases and judgement calls
| Situation | What to do |
|---|---|
| Already on ccTLDs with strong authority | Keep them unless costs or fragmentation hurt; consolidation is a migration |
| One platform cannot serve subfolders | Subdomains or reverse proxy to subfolders |
| Same English content for UK, US, AU | Separate versions only if prices, spelling, products or laws differ |
| China | Often a separate .cn domain with local hosting; specialist review |
| Geo-redirects already in place | Replace with banners; keep all versions crawlable |

## Handoffs to related skills
- hreflang for the chosen structure: `hreflang-implementation`
- Targeting signals: `geo-language-targeting`
- Technical routing and redirects: `international-technical-seo`
- Moving between structures: `international-expansion-migration`
- Market priorities: `international-market-selection`

## Worked example
A B2B SaaS served German, French and Spanish versions on one URL, switching language by cookie, so only English was indexed. Considering ccTLDs, subdomains and subfolders, the recommendation was subfolders (/de/, /fr/, /es/) to share the main domain's authority, keep one platform and avoid buying domains. Language selection became crawlable links plus a non-forcing banner; English stayed x-default. Within three months each language had its own indexed pages and impressions in its markets.

## Output format
```
# International structure plan: <site>, <date>
## Requirements
## Options comparison and recommendation
## URL patterns (language, country, slugs)
## Version selection and x-default
## Implementation steps
```

## Common mistakes
- One URL for all languages with cookie or IP switching.
- Forced IP redirects that block crawlers from other versions.
- Choosing ccTLDs without budget to build authority for each.
- Language selectors built only in JavaScript.
- Changing structure repeatedly.

## Questions to ask before you choose
- Do markets need different prices, products, legal entities or teams?
- What can the platform route and manage?
- How many markets are planned in the next three years?

## Self-check before you answer
- Does every version get its own crawlable URL?
- Is the recommendation justified against business needs?
- Are URL patterns consistent and scalable?
- Is version selection non-forcing and crawlable?

## Official documentation
- Google: managing multi-regional and multilingual sites: https://developers.google.com/search/docs/specialty/international/managing-multi-regional-sites
- Google: locale-adaptive pages: https://developers.google.com/search/docs/specialty/international/locale-adaptive-pages

---
Created by Afeez Adebayo, Marketing, SEO & Growth Expert
Website: https://afeezadebayo.com
LinkedIn: https://www.linkedin.com/in/afeez-adebayo/
X: https://x.com/za_icon
Source: https://afeezadebayo.com/skills-md/marketing/international-seo/international-site-structure/

Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). You may copy, share and adapt this skill, including for commercial use, as long as you credit Afeez Adebayo and link to the source URL above. Keep this notice in any copy or adapted version.

Workflow

Step 1. List requirements

Markets, languages, legal entities, separate catalogues or prices, local teams and platform limits.

Step 2. Compare options

Score ccTLD, subfolder and subdomain against SEO, cost, operations, legal and brand needs.

Step 3. Recommend and justify

State the choice with trade-offs, and where it might change later (for example a ccTLD for a large market once a local entity exists).

Step 4. Design URL patterns

Language and country codes, slug translation rules, handling of shared pages and the default version.

Step 5. Design version selection

Crawlable links between versions (a language selector with links, not only scripts), a non-forcing suggestion banner based on browser language or location, and remembered user choice.

Step 6. Plan the default and x-default

What users from unserved markets see, and which URL acts as x-default.

Step 7. Plan implementation

Routing, CMS setup, sitemaps per market, Search Console and Bing properties per version.

Language selector checklist

  • Visible on every page, usually in the header or footer.
  • Plain links (a href) to the equivalent page in each language, not only to home pages.
  • Language names written in their own language (Deutsch, Fran\u00e7ais), not flags alone; flags represent countries, not languages.
  • Remembers the user's choice and doesn't override it on the next visit.
  • Falls back to the closest equivalent page when a translation doesn't exist.
  • Works without JavaScript so crawlers can follow it.

Decision guide

QuestionIf yesIf no
Do you have separate legal entities and budgets per country?ccTLDs become realisticPrefer subfolders
Do markets need different platforms or catalogues?Subdomains or ccTLDs may be simplerSubfolders
Is the domain young or weak?Subfolders to concentrate authorityAny option can work
Do you need the strongest local trust signal (for example a .de)?ccTLD for that marketSubfolder
Will you add many markets soon?Subfolders scale fastestEither

Default and root page handling

  • Decide what the root URL (/) shows: the main market, a global English version or a language chooser.
  • Avoid the same content at / and /en/; pick one and redirect or canonicalise the other.
  • If / is a chooser, make it useful (links to each version with short descriptions) and set it as x-default.
  • Never redirect / automatically by IP; show a banner instead.

Costs to compare

CostccTLDSubfolderSubdomain
Domains and renewalsPer countryOneOne
Hosting and platformsOften separateSharedShared or separate
Search Console and analyticsPer domainOne property with folder viewsPer subdomain
Link buildingPer domainShared authorityPartly separate
Legal and brand managementPer domainCentralCentral

Search Console setup for subfolders

Add a domain property for the whole site, then URL-prefix properties for each locale folder (example.com/de/) so each market team sees its own performance, indexing and sitemaps.

Edge cases and judgement calls

SituationWhat to do
Already on ccTLDs with strong authorityKeep them unless costs or fragmentation hurt; consolidation is a migration
One platform cannot serve subfoldersSubdomains or reverse proxy to subfolders
Same English content for UK, US, AUSeparate versions only if prices, spelling, products or laws differ
ChinaOften a separate .cn domain with local hosting; specialist review
Geo-redirects already in placeReplace with banners; keep all versions crawlable
  • hreflang for the chosen structure: hreflang-implementation
  • Targeting signals: geo-language-targeting
  • Technical routing and redirects: international-technical-seo
  • Moving between structures: international-expansion-migration
  • Market priorities: international-market-selection

Worked example

A B2B SaaS served German, French and Spanish versions on one URL, switching language by cookie, so only English was indexed. Considering ccTLDs, subdomains and subfolders, the recommendation was subfolders (/de/, /fr/, /es/) to share the main domain's authority, keep one platform and avoid buying domains. Language selection became crawlable links plus a non-forcing banner; English stayed x-default. Within three months each language had its own indexed pages and impressions in its markets.

Output format

# International structure plan: <site>, <date>
## Requirements
## Options comparison and recommendation
## URL patterns (language, country, slugs)
## Version selection and x-default
## Implementation steps

Common mistakes

  • One URL for all languages with cookie or IP switching.
  • Forced IP redirects that block crawlers from other versions.
  • Choosing ccTLDs without budget to build authority for each.
  • Language selectors built only in JavaScript.
  • Changing structure repeatedly.

Questions to ask before you choose

  • Do markets need different prices, products, legal entities or teams?
  • What can the platform route and manage?
  • How many markets are planned in the next three years?

Self-check before you answer

  • Does every version get its own crawlable URL?
  • Is the recommendation justified against business needs?
  • Are URL patterns consistent and scalable?
  • Is version selection non-forcing and crawlable?

Official documentation

When to use this skill, and when not to

Use it before launching international versions, when restructuring an existing international site, when acquiring local domains and when versions are currently chosen by cookie or IP.

Structure decides how search engines find each version, how authority flows between markets, how much each market costs to run and how hard it is to change later. It is one of the most consequential and least reversible decisions in international SEO, and Google’s removal of the manual country-targeting setting in 2022 made it matter even more for generic domains.

Don’t use it for hreflang details (use hreflang Implementation) or migration execution (use Expansion and Migration).

Example prompts

  • “Subfolders or ccTLDs for Germany and France?”
  • “Our languages switch by cookie on one URL. Fix the structure.”
  • “Design URL patterns for language and country versions.”
  • “Should our root URL be a language chooser?”
  • “Is a .io domain treated as a country domain by Google?”

Example output

The skill returns a fixed structure. A shortened example for an imaginary site:

# International structure plan: example B2B SaaS, 11 October 2026

## Recommendation
Subfolders: /de/, /fr/, /es/ (shared authority, one platform, no domain purchases)

## URL patterns
Language-only folders; translated slugs (/de/preise/) with a mapping table

## Version selection
HTML language selector links + non-forcing banner; English as x-default

## Setup
Domain property + folder properties in Search Console; sitemap per locale

The recommendation is justified against business needs as well as SEO, because legal entities, teams and platforms often decide what is practical.

What the agent needs from you

The skill asks for current and planned markets and languages, business setup such as legal entities, local teams and budgets, platform and CMS capabilities, current domains and how versions are served, and brand constraints and domain ownership.

How this skill hands off to related skills

Structure underpins the set. hreflang follows in hreflang Implementation, signals in Targeting Signals, routing and redirects in International Technical SEO, structure changes in Expansion and Migration and priorities in Market Selection.

How to run International Site Structure step by step

  1. Install the skill as international-site-structure/SKILL.md.
  2. List markets, languages and business setup.
  3. Describe platform capabilities and current domains.
  4. Review the options comparison and recommendation.
  5. Agree URL patterns, version selection and x-default.
  6. Implement with sitemaps and Search Console properties per locale.

Situations this skill handles

Structure choices depend on circumstances. The skill handles these situations:

SituationWhat the skill does
Strong existing ccTLDsWeighs keeping them against consolidation risk
Platform can’t serve subfoldersSubdomains or reverse proxy
Same English content for UK, US, AUSeparate versions only where details differ
ChinaOften a separate .cn with local hosting
Geo-redirects in placeReplaced with banners
Young, weak domainSubfolders to concentrate authority

What makes this skill different

Most structure advice lists pros and cons and stops. This skill scores options against the specific business (legal entities, teams, budgets, platforms and growth plans), designs the URL patterns and version selection in detail and plans the Search Console setup that goes with them.

It also insists on the rule that prevents most international failures: every version gets its own crawlable URL, with no forced redirects.

Practical tips from real projects

  • One crawlable URL per version.
  • Banners, not forced redirects.
  • Plan for the next five markets.
  • Language names, not flags, in selectors.

A worked example: a B2B SaaS served German, French and Spanish on one URL, switching language by cookie, so only English was indexed. Comparing ccTLDs, subdomains and subfolders led to subfolders (/de/, /fr/, /es/) to share the main domain’s authority, keep one platform and avoid buying domains. Language selection became plain links plus a non-forcing banner, with English as x-default. Within three months each language had its own indexed pages and impressions in its markets.

Each option has a typical fit. ccTLDs suit large brands with local entities and budgets. Subfolders suit most growing businesses. Subdomains suit different platforms or teams per market. Parameters are rarely recommended. A decision guide asks about legal entities, platforms, domain strength, the need for a local trust signal and how many markets are coming, then points to the best fit.

Costs differ more than teams expect: ccTLDs mean domains, often separate hosting, separate Search Console properties and separate link building for every market, while subfolders share most of that. The skill puts these costs side by side so the choice is made with the full picture.

Language selectors follow a checklist: visible on every page, plain links to the equivalent page in each language, language names written in their own language, remembered choices, sensible fallbacks and no reliance on JavaScript.

URL patterns need to be decided once and kept. Language-only folders such as /de/ and /fr/ suit sites where one version serves every country for a language. Language-country folders such as /de-at/ and /fr-ch/ suit sites where versions differ by country. Country-only folders such as /uk/ and /au/ suit single-language markets. Lowercase codes, consistent separators and a stable pattern make hreflang, sitemaps, analytics segments and Search Console properties far easier to manage as markets are added.

The root URL deserves a deliberate decision. It can show the main market, a global English version or a useful language chooser with short descriptions of each version. Whatever it shows, avoid duplicating content at both / and /en/, set the right x-default and never redirect visitors automatically by IP address.

For subfolder setups, a domain property plus URL-prefix properties for each locale folder lets every market team see its own performance, indexing and sitemaps in Search Console.

Frequently asked questions

It depends on the business. Subfolders suit most growing companies because they share one domain’s authority; ccTLDs give the strongest country signal but cost more to build; subdomains suit separate platforms or teams.

No. Google treats some ccTLDs, including .io, .co and .ai, as generic, so they don’t signal a specific country.

It hides versions from search engines. Each language or country version needs its own crawlable URL.

Not automatically. Show a suggestion banner and remember the user’s choice; forced redirects can block crawlers and frustrate users.

Translated slugs can help users and relevance; keep them stable and maintain a mapping for hreflang.

The main market, a global English version or a useful language chooser, set as x-default, without automatic IP redirects.

Changelog

  • 1.0.0, 10 October 2026: first release.

Use, adapt and share this skill under CC BY 4.0: credit Afeez Adebayo and link to this page.