Hreflang Tags
Hreflang Tags are HTML or HTTP signals that tell search engines which language and regional version of a page to serve to which audience, used to manage international and multilingual SEO.
Also known as: hreflang, language tags, international SEO tags
Hreflang Tags are HTML attributes (or HTTP headers, or XML sitemap entries) that tell search engines which language and regional version of a page to serve to which audience. They are essential infrastructure for international SEO, signaling to Google and other engines that multiple URL variants represent the same content for different language and country combinations.
What Hreflang Tags Are
Hreflang tags are signals on a page that declare its own language-region code and list all alternate versions that exist for the same content in different languages or regions. The tags use standardized codes — ISO 639-1 for language (en, fr, es) and ISO 3166-1 alpha-2 for region (US, GB, CA) — combined as en-US or fr-CA. Implementation lives in HTML link tags in the page head, HTTP Link headers (useful for non-HTML files), or hreflang entries inside an XML sitemap. The x-default value designates the fallback page served when no other variant matches the user’s setting, typically a global homepage or language selector.
How Hreflang Tags Work
Hreflang tags work by establishing a network of language-region equivalents across a site. A page declares its own language-country code and lists all alternate versions; each version returns the same declarations in reverse. Search engines use this network to serve the right variant to each user based on their language and location, instead of arbitrarily picking one version or treating the variants as duplicates competing with each other. The relationship between hreflang and canonical tags matters: each language-region variant should self-canonical, and hreflang should list all variants as alternates. Conflicting hreflang and canonical signals confuse search engines, which often resolve the conflict by ignoring hreflang entirely.
Common Pitfalls and Misconceptions
A common mistake is implementation drift. Hreflang requires reciprocal declarations — page A must list page B as an alternate, and page B must list page A in return — and the country and language codes must follow specific standards. Missing reciprocal declarations, incorrect codes (using en-UK instead of en-GB), or pointing hreflang at noindexed or redirected pages all break the implementation, often silently. Another error is assuming hreflang lifts rankings directly. It doesn’t make a page rank higher; it makes the right page rank for the right audience. Without correct hreflang, search engines may serve the wrong language version or treat variants as duplicates.
Hreflang Tags in Practice
The mature practice on multilingual sites is to manage hreflang from a single source of truth — typically an XML sitemap that lists all language-region variants together — and audit reciprocity automatically. Manual hreflang implementation across hundreds or thousands of pages fails reliably; teams that build hreflang into the content management system itself, or generate it programmatically from a content matrix, avoid the slow degradation that catches sites managing hreflang page by page. The payoff is real: correctly implemented hreflang prevents the same content from competing against itself across regions, a surprisingly common cause of underperformance in international B2B programs.
Common questions.
What are hreflang tags used for?
How are hreflang tags implemented?
What does the x-default hreflang value mean?
What are the most common hreflang mistakes?
Does hreflang affect rankings directly?
How do you audit hreflang implementation?
How does hreflang interact with canonical tags?
Related Terms
More from Search & AEO.
Let’s Talk
Let’s talk about what your next quarter could look like.
Tell us what you’re working on. A senior practitioner reads it, not an SDR queue, and replies, usually within one business day.
- Reviewed personally, not routed through a queue.
- A conversation about what you’re actually working on, not a generic pitch.
- No pressure, just a chance to talk it through.