DELTAWEB
All posts
Technical SEO

The Wrong Country Version Is Ranking: Diagnosis and Fix

If the wrong country version ranks, check hreflang, language-country codes, content overlap and geotargeting in order, then fix each one step by step.

The Wrong Country Version Is Ranking: Diagnosis and Fix
11 minReading time
Arif KuruAuthor

On a Monday morning, an export manager receives an email from a customer in Germany: "We searched for your product and the result was the Turkish page, with prices in lira." The team knows a German page with euro pricing is already live. The problem is that the search engine is not picking the right country version for the person searching. In most cases this comes from several signals disagreeing rather than one broken setting. This guide starts with the symptom, separates the likely causes, and ends with a fix sequence you can work through in order. If the underlying logic is still new to you, our hreflang guide covers the fundamentals first.

Key Takeaways

  • A wrong country version usually ranks because hreflang, language-country codes, content overlap and geotargeting signals contradict each other, not because of a single error.
  • Start diagnosis with three questions: which URL appears, in which country and language the search happens, and which page you meant to target.
  • hreflang annotations must be reciprocal; a one-way annotation is only a weak hint to Google.
  • The language code "uk" means Ukrainian. For the United Kingdom, the correct value is "en-GB".
  • Apply fixes in sequence and confirm each one with the URL Inspection tool in Search Console.

Defining the Symptom: Which Page Is Showing Up Wrong?

"The wrong version is showing" is not a diagnosis on its own. First, pin the problem down on three dimensions: which URL appears, which country and language the search is run from, and which page you intended to rank in that market. Those three answers tell you a great deal about whether the root cause is hreflang, content, or targeting.

The table below pairs common symptoms with likely causes. It is a triage list, not a verdict; the checks in the later sections are what confirm the cause.

SymptomLikely causeFirst check
The Turkish version appears in GermanyNo hreflang on the German page, or the Turkish page is set as x-defaultInspect the hreflang tags in the page source
One English country version always appearsContent is nearly identical and Google picks a single versionCompare the body text of the two pages
The right version exists but ranks behindOne-way annotation or wrong country codeVerify reciprocity and codes
One country never sees its versionPage is noindexed, blocked, or missing from the hreflang setCheck indexability of that page
Results differ from user to userPersonalization, location and language preference effectsTest from several locations

Why treat each symptom separately?

The same visible problem can have two different causes. If the Turkish page appears in Germany because the German page is never recognized, fixing the hreflang set is enough. But if the German page is recognized and Google still picks the Turkish one, the likely culprit is the x-default definition or a page that looks more generic to the searcher. Applying one identical fix to every symptom wastes time.

Start With Diagnosis: Which URL Does Google Actually Choose?

The first diagnostic step is to see which address Google has selected as canonical for the page. Enter the full address of the target page into the URL Inspection tool in Search Console. The tool shows the indexed version, the last crawl date and the canonical URL Google chose. If Google selected a different URL from the one you wanted, the cause is usually content similarity or conflicting signals.

Do not judge from a single search result

Search results vary with location, language history and device. A single screenshot is therefore a weak basis for a decision. Check from a location in the target country over several days and with several queries. Use both your brand name and a product category term, because some queries show different results.

A quick check with the site: operator

Combining the site: operator with your domain and a market-specific keyword gives a rough picture of which of your pages Google keeps in its index. It is not an exact measurement, but it shows quickly which version is indexed at all. A version that is not indexed cannot be served to its market, whatever hreflang says.

Cause 1: Missing or Non-Reciprocal hreflang

hreflang is markup that tells Google "this content has another version for this language and country." According to Google's official documentation, these annotations are a hint: Google considers them but may not always apply them literally. That makes completeness and consistency essential.

The reciprocity rule (return tags)

Every hreflang link must be two-way. If the Turkish page points to the German page, the German page must point back to the Turkish page. Each page also needs a complete set that includes itself. When this rule is broken, Google does not trust the annotations and does not connect the versions. The result is the wrong version ranking in the target country.

Here is a hypothetical example. A valve manufacturer in Bursa (hypothetical example) published Turkish and German pages, but the German page listed only itself and the Turkish page never linked back. The Turkish page kept appearing in German searches. The fix was adding the hreflang annotation pointing to the Turkish version inside the German page's source, and making sure the Turkish page pointed to the German one.

Missing self-referencing annotation

Each page should carry an annotation for its own language and country. This is often forgotten in templates, especially when a page is generated in only one version at first. When you inspect the source, confirm that every version contains its own tag.

Cause 2: Language and Country Code Errors

Wrong codes are the most common and least noticed technical error. The tag looks present, but if Google does not recognize the code, no relationship is formed. For language, use the two-letter ISO 639-1 code; for country, the ISO 3166-1 Alpha-2 code. Codes are read case-insensitively, but using the standard correctly reduces both error risk and internal confusion.

IncorrectCorrectWhy
uken-GBuk is the Ukrainian language code and creates a wrong match for the UK
en-UKen-GBThe country code for the United Kingdom is GB
tr-trtr-TR or trCase is tolerated, but consistency matters
zhzh-Hans or zh-HantChinese needs a script distinction; be explicit about which version you mean
de-EUde or de-DEEU is not a country code; use de or de-DE for German

Automate code generation

Hand-typed annotations accumulate errors over time. It is safer to generate each version's code from one configuration table in the template or CMS layer. Define the country-language pairs once and let every page draw from that source. That removes inconsistencies such as one page using tr-TR while another uses tr.

Cause 3: Content Similarity and Duplicate Versions

Google tends to treat pages that are almost identical as a single version. This is most visible on sites that publish many English country versions. Adding "en-us" and "en-gb" labels is not enough if the text is the same. If Google considers two pages duplicates, it decides which one to show, and that choice may not match the country you wanted.

Where should the differences be?

Real differentiation comes from what the user in that country needs to know. Currency and price display, delivery timelines, market-specific commercial terms, spelling conventions, local standards, and country-specific certifications or legal notices all separate pages meaningfully. You do not need to add all of them, but each version should carry content that is genuinely useful to its own market.

Translation versus localization

Translating the text alone rarely creates enough difference. Localization also adapts units, date formats, forms of address and examples to the target audience. This improves the user experience and makes each page look distinct rather than interchangeable.

Cause 4: Geotargeting and Conflicting Signals

Geotargeting is the set of signals Google uses to understand which country a page is aimed at. They include the domain extension, the language and currency on the page, the country setting in Search Console (which applies only to subdirectories and subdomains), and hreflang. When these signals agree, Google can choose the right version easily. When they disagree, it has to guess.

SignalConsistent exampleConflicting example
LanguageGerman page with German textGerman URL carrying Turkish content
CurrencyEUR shown on the German versionTRY price on the German version
Country settingGermany targeted for the /de/ subdirectoryNo country setting on the subdirectory while hreflang points to another country
hreflangAll versions point to each otherOne page does not link back to the others

Every conflict in this table creates doubt about which user a page belongs to. To solve the problem, align the signals around one target country per version.

Fix Steps: Work Through Them in Order

The sequence below is arranged to aim for the most impact with the least effort. Check the result after each step, because a fix in one step can narrow the scope of the next.

  1. List your target pages. Write down which page is meant to rank in which country, in a single table. Every later check refers back to it.
  2. Verify the hreflang set in source. Confirm that each version carries its own annotation and annotations for every other version.
  3. Test reciprocity. Wherever page A points to page B, confirm that B points back to A. This can be checked by hand or with a crawler.
  4. Correct language and country codes. Convert any incorrect codes from the table above to the standard format.
  5. Define x-default clearly. Choose a general fallback page for users who match no version, usually a language selector or global homepage. Google's hreflang documentation explains x-default usage in detail.
  6. Reduce content similarity. Add genuine differences such as currency, delivery and local conditions to versions that are too alike.
  7. Align country signals. If you use subdirectories or subdomains, check the country setting in Search Console and keep the on-page currency and language consistent with the target country.
  8. Confirm indexability. No page in the hreflang set should be noindexed or blocked. Otherwise Google cannot see that version at all.

Managing hreflang through the sitemap

On large sites where template changes are hard, you can define hreflang relationships inside the XML sitemap using xhtml:link elements. This keeps relationships centralized without touching page source. Reciprocity and code accuracy still apply to every URL, and an error in the sitemap can do as much harm as one on the page. For implementation details, see our guide to implementing hreflang via XML sitemaps.

Post-Fix Checklist

After a fix, apply this list once more to confirm the errors have actually closed:

  • Does every version carry its own annotation?
  • Is every annotation reciprocal?
  • Are language and country codes in standard form?
  • Is x-default defined and does it lead to a genuinely general page?
  • Are the pages in the hreflang set indexable?
  • Is there meaningful content difference between versions?

For more complex situations, our articles on x-default usage and return tag errors go deeper into these topics.

Setting Expectations: How Long Does a Fix Take?

After a fix, Google has to recrawl the pages and reassess the signals. The time this takes depends on the site, the number of pages and how often they are crawled. Be cautious with any source that promises a specific number of days. A practical approach is to log each change with its date and scope, check it regularly with URL Inspection, and track results for your target queries.

Remember that hreflang only helps the right version show up; it does not lift a weak page into rankings. Even when the correct version appears in the right country, make sure its content meets the search intent of that market.

Common Mistakes

  • Copying one version and changing only the language code. When the text stays the same, Google may treat the versions as duplicates.
  • Adding a new country without updating existing sets. A new version means every existing page's annotations need to be updated too.
  • Leaving a redirected URL in the hreflang set. Redirected URLs should not be part of the set.
  • Forgetting test pages that are still live. Leftover staging or test pages can make the wrong version appear.

Conclusion and Next Step

A wrong country version rarely gets fixed with a single switch, but it becomes clear quickly when you work in the right order. Define the symptom first, then check the hreflang set, the codes, the content difference and the geotargeting signals in turn. Writing down which version should appear in which country is the most valuable step in the whole process. As a follow-up, we also recommend reading about hreflang and noindex conflicts, because a noindexed version will stay invisible in its country no matter how correctly it is annotated.

FAQ

Frequently Asked Questions

  • Why does the wrong country version rank in search results?

    The main causes are missing hreflang, non-reciprocal annotations, wrong language or country codes, content that is nearly identical across versions, and conflicting geotargeting signals. Google treats hreflang as a hint rather than a strict rule, so all signals need to agree.

  • How do I find out which page Google is showing?

    The URL Inspection tool in Search Console shows the canonical URL Google selected and the last crawl date. Because results vary by location and history, check several queries and days from the target country rather than relying on one screenshot.

  • What happens if a hreflang annotation is one-way?

    Every hreflang link must be reciprocal: if page A points to page B, page B must point back to A. One-way annotations may be ignored by Google and can leave the wrong version ranking in the target market.

  • How should language and country codes be written?

    Use an ISO 639-1 language code such as de, fr or en, and an ISO 3166-1 Alpha-2 country code such as DE, FR or GB. For the United Kingdom use en-GB, not en-uk, because uk is the language code for Ukrainian.

  • What if two countries share the same English?

    Versions such as en-us and en-gb can be defined separately, but the content must differ in meaningful ways such as currency, delivery terms, spelling conventions and legal notices. If the text is nearly identical, Google may choose a single version.

  • Does using an XML sitemap for hreflang solve the problem?

    It is a good option for large sites because relationships are defined centrally and page templates stay unchanged. Reciprocity and code accuracy still apply to every URL, and a sitemap error can cause as much harm as an on-page one.

  • When will I see results after fixing the errors?

    Google needs to recrawl and reassess the pages, and the time depends on the site, the number of pages and crawl frequency. Instead of relying on a specific number of days, log your changes and monitor them with URL Inspection.

  • Is the country setting in Search Console enough on its own?

    No. The country setting applies only to subdirectories and subdomains and does not replace hreflang. It works best combined with country-specific content, correct language annotations and consistent internal links.

Related Articles

No comments yet

Leave a Comment