rel="alternate" hreflang
Signals language and regional variants of a page so Google serves the matching locale URL (such as en-GB vs. en-US or es-MX) instead of the wrong regional version.
Verified
Syntax / Example
<link rel="alternate" hreflang="en-us" href="https://example.com/us/pricing" /> <link rel="alternate" hreflang="en-gb" href="https://example.com/uk/pricing" /> <link rel="alternate" hreflang="x-default" href="https://example.com/pricing" />
Verify On A Live URL
curl -sL https://example.com/ | grep -i "hreflang"
Documented Facts For rel="alternate" hreflang
| Metric or Rule | Documented Value | Source |
|---|---|---|
| Code standards required | ISO 639-1 language + ISO 3166-1 Alpha-2 region | Google: Consolidate Duplicate URLs (Canonical)Checked November 25, 2026 |
| Reciprocity requirement | Bidirectional return tags + self-reference mandatory | Google: Consolidate Duplicate URLs (Canonical)Checked November 25, 2026 |
| Fallback token | hreflang="x-default" for unmatched locales | Google: Consolidate Duplicate URLs (Canonical)Checked November 25, 2026 |
Official Specification & Google Behavior
Google supports hreflang via HTML <link> tags, HTTP Link headers or XML sitemaps using ISO 639-1 language and optional ISO 3166-1 Alpha-2 region codes. Every localized pair must include reciprocal return links and a self-reference.
SEO & Indexing Impact
Prevents cross-country cannibalization and serves the right currency/language URL in SERPs. Missing return links or pointing hreflang at non-canonical/redirected URLs causes Google to ignore the annotation.
Backlink Monitoring Verdict
Hreflang does not merge PageRank like a canonical tag, but cross-region canonical mistakes (canonicalizing /uk/ to /us/) break localized indexing immediately.
Common Pitfalls
- Using invalid country codes such as 'en-UK' instead of the valid ISO code 'en-GB'.
- Adding a cross-locale rel='canonical' from /uk/ to /us/, which tells Google not to index the UK hreflang target.
Frequently Asked Questions
- Why does Google ignore broken hreflang tags?
- Google requires full reciprocity: if page A points hreflang to page B, page B must point back to page A, and both must self-reference and be indexable canonicals.
- What does hreflang="x-default" do?
- x-default designates the fallback URL or language-selector page shown to searchers whose language/region does not match any explicit hreflang entry.
- Should localized pages canonicalize to one global page or to themselves?
- Each localized hreflang URL must carry a self-referencing rel="canonical" tag, never a canonical pointing to another language version.
Primary Sources
Verified
- Google: Consolidate Duplicate URLs (Canonical)November 25, 2026
- MDN Web Docs: HTML Link Types (rel)November 25, 2026
Related Research Guides
- November 27, 2026Canonical Tags And Duplicate Content: Why Google Ignores Your Canonical And How To Fix It60% of the web is duplicate content and 67% of mobile pages use rel=canonical—yet Google treats it as a hint. How canonicalization works and fixes.
- November 18, 202611 Technical SEO Checks Ranked By Indexing Impact: Status Codes, Crawl And CWVEleven technical SEO audit checks ordered by indexing impact—covering HTTP status codes, robots.txt leaks, 27.4-day indexing and Core Web Vitals.
- November 27, 2026XML Sitemaps And IndexNow In 2026: Protocol Limits, Lastmod And Discovery DataGoogle caps sitemaps at 50,000 URLs / 50 MB and ignores priority & changefreq, while IndexNow handles 3.5B+ URLs/day. Clean discovery rules.