On this page
What this issue is
There are two common ways to run a site for several countries. A ccTLD (country-code top-level domain) is a separate domain per country, such as example.de or example.fr. A subfolder keeps everything on one domain, such as example.com/de/ or example.com/fr/.
Both are valid. The problem starts when you use both for the same market, often after a migration, a rebrand or a test that was never removed. The German pages then exist at example.de/produkt and at example.com/de/produkt with nearly identical content.
Search engines treat these as two copies. They pick one to show and may drop the other. They may not pick the one you wanted.
- example.de/produktCountry domain, indexed
- example.com/de/produktSubfolder copy, same content
- Split signalsLinks and ranking power divided
- Wrong URL ranksUsers land on the unintended version
The same German page is live on two hosts, so signals are split and the wrong one can win.
Why it costs you leads or sales
Duplicates split the links and engagement that would otherwise build one strong page. Google usually picks a single version to show, but it can choose the one you do not want. That may be a URL with the wrong currency, a different checkout, or tracking set up for another property.
Visitors who arrive on the unintended domain may also hit a form that sends mail to the wrong inbox, or a cart that is not maintained. Your own pages can compete with each other for the same searches.
Example: with duplicates, clicks split across two hosts. After consolidation, one URL gets them all. Numbers are illustrative.
How to check if your site has it
Open both versions of one page
Load a page on the country domain and the same page in the subfolder. If both return 200 with the same content and no redirect, you have a duplicate.
Search with the site: operator
In Google, search site:example.de and site:example.com/de. If the same pages appear in both, both are indexed.
Inspect the URL in Search Console
Use URL Inspection on both URLs. Compare 'User-declared canonical' and 'Google-selected canonical'. A mismatch means Google disagrees with you.
Check the canonical and hreflang tags
View source on each page. Look for rel=canonical and rel=alternate hreflang. Both hosts pointing at themselves as canonical is a common cause.
Crawl both hosts
Run a crawler such as Screaming Frog on each host and compare page titles and content hashes to find matching pages.
How to fix it
First decide which structure serves each market. A ccTLD gives a strong country signal but means managing several domains. Subfolders are simpler to maintain and share the authority of one domain. What matters is one choice per market, not both.
| Factor | ccTLD (example.de) | Subfolder (example.com/de/) |
|---|---|---|
| Country signal | Strong | Set through hreflang and Search Console |
| Upkeep | One site per country | One site overall |
| Authority | Built separately per domain | Shared across the domain |
| Cost | Domain, hosting and SSL for each | One set |
Pick the version to keep
For each country, choose the host that stays live, for example example.de.
301 redirect the other version
Redirect every URL on the unwanted host to its exact equivalent on the kept host, page to page. Do not send everything to the homepage.
Set self-referencing canonicals
Each kept page should have a rel=canonical pointing to its own preferred URL on the kept host.
Update hreflang to the kept URLs only
Hreflang must list the kept URLs for every language version, with return links. Remove entries that point to redirected hosts.
Update sitemaps and internal links
Submit sitemaps that contain only the kept URLs and change internal links to match.
Keep marketing and tracking aligned
Make sure ad landing pages, GA4 and tags use the kept host so campaigns do not land on a redirect.
RewriteEngine On
RewriteRule ^de/(.*)$ https://example.de/$1 [R=301,L]location ~ ^/de/(.*)$ {
return 301 https://example.de/$1;
}<link rel="canonical" href="https://example.de/produkt" />
<link rel="alternate" hreflang="de" href="https://example.de/produkt" />
<link rel="alternate" hreflang="en" href="https://example.com/product" />
<link rel="alternate" hreflang="x-default" href="https://example.com/product" />Find the source of the duplicate
Check whether a multisite network, a multilingual plugin (WPML, Polylang, TranslatePress) or a mapped domain is serving the same language twice.
Use one URL mode
In your multilingual plugin settings, choose either a different domain per language or a directory per language, not both.
Redirect the unused host
Add 301 redirects with your host's redirect tool or a redirect plugin, then check canonicals in your SEO plugin.
Review Markets
In Settings > Markets, check whether a country uses a domain and also a subfolder. Pick one domain setup per market.
Redirect old URLs
In Content > Menus > View URL Redirects (or Online Store > Navigation), add redirects for any retired paths.
Check localization settings
In Localization, confirm each locale uses either a subdirectory or a separate domain setup as intended.
Add 301 redirects
In Site settings > Hosting > 301 redirects, map old paths to the kept URLs.
Redirect at the server
Use the Apache or Nginx rules above, adjusted to your paths and hosts.
Generate canonicals from one config
Build canonical and hreflang URLs from a single source of truth so they cannot point at the wrong host.
How to confirm it's fixed
- The unwanted host returns a single 301 to the matching kept URL (test several deep pages, not just the homepage).
- Each kept page has a self-referencing canonical on the kept host.
- Hreflang lists only kept URLs and every pair links back.
- Search Console URL Inspection shows the same user-declared and Google-selected canonical.
- The sitemap contains no URLs from the retired host.
- Over the following weeks, site: searches stop showing the retired host.
How to prevent it happening again
- Write down one chosen structure per market and share it with developers and agencies.
- Before launching a new country site, check that the same content is not already live under another host.
- Block staging and test hosts from indexing and keep them behind a login.
- Re-crawl both hosts after migrations and plugin updates.
- Review the Search Console Pages report for 'Duplicate, Google chose different canonical than user'.
How FunnelGuard handles this
FunnelGuard does not check for this yet. Duplicate content across a ccTLD and a subfolder is a possible future check, but today it is not covered.
What FunnelGuard does do is run your real customer journeys on a schedule, such as lead forms and checkouts, and check the tracking hits sent to ad and analytics platforms. That can show whether a journey on one of your country sites still works, but it will not tell you that two hosts carry the same content.
To watch for this yourself, use Google Search Console for each host and review the Pages report regularly. Run a crawler on both hosts after any change and compare the results. You can also get a free read-only website audit from FunnelGuard as a general starting point.
Questions people ask
Is it bad to have both a ccTLD and a subfolder for the same country?
Yes, if both serve the same content. Search engines see duplicates, split signals between them and may rank the version you did not intend. Pick one structure per market and redirect the other.
Is a ccTLD or a subfolder better for international SEO?
Neither is always better. A ccTLD gives a strong country signal but costs more to run and builds authority separately. A subfolder is simpler and shares one domain's authority. Choose based on resources and how separate each market is.
Will duplicate content on country domains get me a Google penalty?
Usually not a penalty. Google normally picks one version and filters the rest. The real cost is lost ranking power and the risk that the wrong URL is shown to searchers.
Do I need hreflang if I use country domains?
Yes, hreflang still helps. It tells search engines which version suits which language or region, even across different domains. Each version must link to the others and back.
How do I redirect example.com/de to example.de?
Add a server-level 301 redirect that maps each /de/ path to the same path on example.de. On Apache use a RewriteRule, on Nginx a location block with return 301. Redirect page to page, not all to the homepage.
Can I fix this with canonical tags instead of redirects?
Canonicals can help, but they are only a hint. If both hosts stay live, Google may ignore them. A 301 redirect is the more reliable fix when one host should not be used.
Why does the wrong country site show up in Google?
Often because the same content exists on two hosts or hreflang is missing or wrong. Google then chooses a version on its own. Consolidating and fixing hreflang usually corrects it.
Related issues
- SEO-265hreflang missing on multi-language sitesFix guide
- SEO-266hreflang without return links (not reciprocal)Fix guide
- SEO-269hreflang points to non-canonical URLsFix guide
- SEO-271hreflang in both sitemap and head with conflictsFix guide
- SEO-272Language detected by IP redirects users and bots automaticallyFix guide
- SEO-278Wrong country version ranks in a marketFix guide