March 8, 2026·1 min read
How to use hreflang tags correctly (without breaking SEO)
Bidirectional annotations, x-default, and practical patterns for multilingual and multi-region sites.
Hreflang is a reciprocity game
hreflang tells search engines which URL serves which language or region. Each URL in a cluster should reference the others—and those references must resolve consistently.
Use fully qualified URLs
Prefer absolute HTTPS URLs in link rel="alternate" hreflang="..." entries. Relative URLs are easy to misconfigure across environments.
x-default is not optional on many sites
x-default indicates a fallback when no locale matches. It often points to a global English page or a country selector—pick one strategy and document it for your team.
Self-reference every version
Each localized page should include a hreflang entry for itself plus siblings. Missing return tags are a common reason annotations get ignored.
Keep CMS and CDNs in sync
If you generate tags in templates, ensure staging and production emit the same cluster. A single missing reciprocal link can weaken the whole set.
Pair this guide with the meta tag generator to prototype link elements before you wire them into your framework.