Prompt

How do I troubleshoot hreflang errors across country sites?

Technology / SEO & AEO Tools1 observationLast seen Oct 21, 2026

Latest observation

Oct 21, 2026OpenAI APIWeb search: off

Troubleshooting hreflang errors across country sites usually comes down to checking 3 things: the tags themselves, the site architecture, and whether Google can actually crawl and trust the signals.

1) Verify the basic hreflang rules

Each localized page should:

  • Reference itself
  • Reference all alternate language/country versions
  • Use valid hreflang codes, like:
    • en-us
    • en-gb
    • fr-fr
  • Point to canonical, indexable URLs

Example:

<link rel="alternate" hreflang="en-us" href="https://example.com/us/page/" />
<link rel="alternate" hreflang="en-gb" href="https://example.com/uk/page/" />
<link rel="alternate" hreflang="fr-fr" href="https://example.com/fr/page/" />
<link rel="alternate" hreflang="x-default" href="https://example.com/" />

Common mistakes:

  • Missing return links
  • Wrong country/language code
  • hreflang pointing to redirected, blocked, or non-canonical URLs
  • Using different URL sets on each version

2) Check reciprocity

Google expects hreflang to be bidirectional.

If:

  • US page links to UK page

Then:

  • UK page must link back to US page

If one page is missing the reciprocal tag, the cluster can break.

3) Confirm canonical tags don’t conflict

A very common issue:

  • hreflang says the page is a country variant
  • but rel=canonical points to a different locale or a generic page

Best practice:

  • Each localized page should usually canonicalize to itself
  • Only use cross-canonicals if you truly want one URL indexed instead of multiple variants

If canonical and hreflang disagree, Google often follows the canonical and ignores hreflang.

4) Make sure all hreflang URLs are indexable

Check that target URLs:

  • Return 200 OK
  • Are not blocked by robots.txt
  • Are not noindex
  • Are not behind geo-login or session restrictions
  • Are not redirects

Run a crawl or use browser tools to confirm.

5) Validate language and region codes

Use correct ISO codes:

  • Language: 2-letter lowercase (en, fr, de)
  • Region: 2-letter uppercase (US, GB, CA)
  • Combined: en-us, en-gb, fr-ca

Do not use:

  • en-uk instead of en-gb
  • invalid codes like uk-en

6) Check implementation method consistency

hreflang can be implemented via:

  • HTML <link> tags
  • HTTP headers
  • XML sitemaps

Avoid mixing partial implementations unless they’re perfectly aligned. If you use sitemaps, confirm every alternate is present in the same hreflang cluster.

7) Look for URL mismatches

Sometimes hreflang errors are just tiny URL inconsistencies:

  • http vs https
  • www vs non-www
  • trailing slash differences
  • uppercase/lowercase path differences
  • parameters added on one version only

All alternate URLs should match the exact preferred indexed URL.

8) Audit for missing pages in the cluster

Every version in a cluster should list all others. If you have:

  • US
  • UK
  • Canada

Then all 3 should reference all 3, plus self-reference.

If one country page is missing, the cluster may be incomplete.

9) Use the right tools

Good tools for checking hreflang:

  • Google Search Console: indexing issues, sitemaps, URL inspection
  • Screaming Frog SEO Spider: hreflang reports and missing return tags
  • Sitebulb
  • Ahrefs / Semrush site audits
  • Browser dev tools or page source inspection

10) Watch for x-default issues

x-default is optional, but useful for global selector or fallback pages.

It should:

  • Point to a generic page or country selector
  • Not conflict with locale-specific pages
  • Be included consistently if used

11) Confirm the pages are actually equivalent

hreflang is meant for pages with equivalent intent/content in different locales. If one page is substantially different, Google may ignore the relationship.

12) Fix at scale with a crawl-first approach

If you have many country sites:

  1. Crawl all locale versions
  2. Export hreflang data
  3. Check:
    • missing return links
    • invalid codes
    • canonical conflicts
    • redirecting URLs
    • non-200 URLs
  4. Fix templates or sitemap generation rather than individual pages where possible

Quick debugging checklist

For any page:

  • Self-referencing hreflang exists
  • All alternate URLs are listed
  • Return links exist on all alternates
  • URLs are canonical, final, indexable, 200 status
  • Codes are valid
  • Canonicals don’t contradict hreflang
  • No robots/noindex/redirect issues
  • Implementation is consistent across the site

If you want, I can also give you:

  1. a step-by-step hreflang audit workflow, or
  2. a template for diagnosing hreflang errors in Screaming Frog.

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (1 observation for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.