A procurement manager in Germany opens your site and sees two English options in the header: one for the United States, one for the United Kingdom. On the product pages, prices, lead times and copy look almost identical. Which of these two URLs should Google show to which buyer? (hypothetical example) That is exactly the question a language-country folder structure is meant to answer, and when it is built badly, it only makes the question harder.
This guide explains what folders such as /en-us/, /en-gb/ and /de-at/ do, how hreflang pairs them, where the duplicate content risk comes from, and which markets really need this structure. For the broader framework, start with our international site architecture pillar; this article focuses on the language and country layer of those decisions.
Key Takeaways
- A language-country folder puts an ISO 639-1 language code and an ISO 3166-1 alpha-2 country code in the URL path.
- The correct country code for the United Kingdom is "gb"; "uk" is a common but incorrect choice.
- A folder pays off only when there is a real market difference: price, delivery, regulation or terminology.
- Every version should reference all matching versions with hreflang, including itself, and point its canonical to itself.
- Publishing the same text in several folders creates duplicate content risk. Differentiate the pages or consolidate them.
What is a language-country folder and which codes does it use?
A language-country folder is a subdirectory that shows both the language and the target country in the first level of the URL path. Pages under /en-us/ address English speakers in the United States, pages under /en-gb/ address the United Kingdom, and pages under /de-at/ address German speakers in Austria. The folder decision is tied to your domain choice; we compared ccTLDs and subdirectories in our ccTLD guide, and the architectural difference between multiregional and multilingual sites is covered in our architecture guide.
The codes come from two separate standards, and mixing them up is one of the most common errors:
- Language code: a two-letter code from ISO 639-1. "en" means English, "de" means German.
- Country code: a two-letter code from ISO 3166-1 alpha-2. "us" is the United States, "at" is Austria, and "gb" is the United Kingdom.
- Order: language first, country second. "us-en" is invalid; the correct form is "en-us".
The table below lists common folders and general market notes. Market notes are general; legal and tax details are outside the scope of this article.
| Folder | Language | Country | Market note |
|---|---|---|---|
| /en-us/ | English | United States | USD pricing and US trade terminology |
| /en-gb/ | English | United Kingdom | GBP pricing and British spelling |
| /de-at/ | German | Austria | Austrian German wording and local product copy |
| /de-de/ | German | Germany | Standard German version for Germany |
When does a country folder really pay off?
Opening a folder for every country is not a goal in itself. A folder earns its place when it gives the visitor a genuinely different experience. Each extra folder adds maintenance work, multiplies content updates and raises the chance of hreflang errors. Five questions help you decide:
- Are prices or currencies different in this market?
- Do delivery times, stock levels or minimum order quantities vary by country?
- Do product labels, warranty or compliance texts differ?
- Is the terminology different? In some industries the same product has different names in British and American English.
- Do search queries and conversion data from this market justify a page of its own?
If at least two of the five answers are yes, a country folder is usually justified. If none of them are, one English version with a clear language and region selector is often enough. The right threshold depends on the market, so decide it with your own sales and search data rather than a universal rule.
Keep the two dimensions apart. Language differences and country differences are not the same thing. Two English-speaking markets may share almost identical copy and differ only in price or delivery; in that case the country layer matters and the language layer does not.
Example: how a three-market exporter decides (hypothetical example)
Imagine a manufacturer of industrial valves that sells to the United States, the United Kingdom and Austria (hypothetical example). Its US and UK buyers pay in different currencies and expect different lead time commitments, so each gets its own folder. Austrian buyers read German, but the product catalogue is the same as Germany's. The team therefore opens one /de-at/ folder with localized delivery and contact details, and leaves /de-de/ as a decision for later, to be made once the data supports it.
| Market | Folder | Reason to split | Decision |
|---|---|---|---|
| United States | /en-us/ | USD prices, US lead times | Own folder |
| United Kingdom | /en-gb/ | GBP prices, British spelling | Own folder |
| Austria | /de-at/ | Austrian German, local delivery terms | Own folder |
| Germany | /de-de/ | Same catalogue as Austria at the start | Postponed until data justifies it |
How hreflang pairs the folders
The hreflang attribute tells search engines which language and country versions belong together. It can be placed in the head section of each page or in an XML sitemap. The core logic is simple: every version lists all matching versions, including itself. The sample below uses a hypothetical exporter domain:
<link rel="alternate" hreflang="en-us" href="https://www.ornek-ihracatci.com/en-us/vana-serisi/" />
<link rel="alternate" hreflang="en-gb" href="https://www.ornek-ihracatci.com/en-gb/vana-serisi/" />
<link rel="alternate" hreflang="de-at" href="https://www.ornek-ihracatci.com/de-at/vana-serisi/" />
<link rel="alternate" hreflang="x-default" href="https://www.ornek-ihracatci.com/en-us/vana-serisi/" />
Four rules hold the set together:
- Return links: the en-us page must reference en-gb and de-at, and both of those must reference en-us. One-way annotations are often ignored.
- Self-reference: every page lists its own language-country value.
- x-default: names the fallback page for visitors whose language or country matches no version. Details are in our hreflang x-default guide.
- Absolute, canonical URLs: every href must be a full URL that matches the canonical address of its page exactly.
hreflang is a hint, not a redirect. Correct tags do not guarantee that the matching version is shown to every user. Google weighs the language of the content, the page text itself and other signals together, so treat hreflang as one part of a consistent structure rather than a fix on its own.
Duplicate content: what happens when the same text sits in three folders?
This is the biggest risk. When the same English text is published under /en-us/, /en-gb/ and /en/, search engines may treat those pages as duplicates. One version gets chosen and the others become hard to find in results. (hypothetical example) An exporter had three English folders, each with the same product copy. British buyers were seeing the US page in search results, while the sterling pricing and the UK delivery note were not surfacing anywhere.
How to tell duplicates apart
- Make price, currency and delivery information genuinely different on each page.
- Add country-specific FAQs. Customs paperwork or payment methods, for example, often vary by market.
- Apply real differences in spelling, units and terminology.
- Share local references, certifications or logistics details only when they actually exist. Never invent them.
If you are weighing two English versions that are nearly identical, the variant question deserves its own review. We cover it in one language, many countries.
Keep canonicals consistent with hreflang
Each page should declare its own address as canonical. If a page's canonical points to another language or country version, the hreflang pairing breaks. This is one of the most frequent technical errors in badly built folder structures. If your review concludes that one English version is enough, remove the extra folders and consolidate with 301 redirects to a single page; that resolves the problem at the root.
Selector design and redirect behaviour
A visible language and country selector is the cleanest solution for both users and search engines. The choice can be remembered in the browser. Automatically sending a visitor to another folder based on IP address on first load, however, is a risky pattern.
Why is IP-based redirecting risky? Search engine crawlers come from specific locations and can be pushed into one folder regardless of the page they request. That makes the other versions harder to crawl. When the visitor can see which version they are on and switch freely, the problem largely disappears.
Every version also needs links between equivalent pages. A visitor on a product page should be able to reach the same product in another folder with one click. Our article on cookie- or session-based language switching explains why selectors that depend on cookies or sessions can keep the alternate versions out of reach for crawlers.
Verifying the setup: sitemap and monitoring
Checking tags by hand stops being practical once the page count grows. Keep a matching table: one row per product, one column per language-country version, and the full address in each cell. Compare that table against your sitemap and your page tags.
- The hreflang entries in the sitemap and the tags in the page head must agree.
- Every URL must appear reciprocally in the set of all its matching versions.
- Redirecting addresses should not appear in the sitemap; list only final URLs.
- If a version is missing or returns a 404, remove its tag from the set as well.
Review the indexing and page reports in Search Console regularly. Seeing which versions are indexed and which are flagged as duplicates shows the health of the folder structure. Problems that nobody reads for months tend to pile up quietly.
Common mistakes
| Mistake | Effect | Fix |
|---|---|---|
| Using "uk" as the country code | The tag does not match the intended market | Use "gb" |
| Reversed codes such as "us-en" | Invalid value, ignored | Use the en-us format |
| Missing return tags | One-way annotations are ignored | Link every version reciprocally |
| No x-default | No defined fallback for unmatched visitors | Mark the main version as x-default |
| IP-based automatic redirects | Crawlers may struggle to reach other versions | Use a visible selector and user choice |
| Sitemap and page tags disagree | Mixed signals | Generate both from one source |
Checklist
- Is the market decision documented in a written table?
- Does every folder carry at least one market-specific content difference?
- Are the codes ISO compliant (gb, not uk)?
- Does every page have reciprocal hreflang tags and a self-reference?
- Is x-default defined?
- Do canonical addresses match the hreflang addresses?
- Is there no IP-based automatic redirect?
- Are the sitemap and page tags generated from the same source?
Conclusion and next step
A language-country folder structure creates value when the market is real and the pairing is correct. Without those two conditions, it mainly produces duplicate content. Measure the market differences honestly first, then build the URL structure and the hreflang set. Your next step is to write a market table with one question per market and answer each question with data before you touch a single URL. If you would like an outside review of your market table and folder plan, DeltaWeb can help you assess it.




No comments yet
Leave a Comment