Definition

What is Hreflang?

An HTML attribute (or HTTP header) that tells search engines which language and regional version of a page to show users from a specific locale.

Hreflang is the international-SEO mechanism for multi-language and multi-regional sites. If you have English, French, and German versions of the same page, hreflang annotations tell Google to serve the right version to users in the right locale. Implementation: `<link rel="alternate" hreflang="en" href="https://example.com/en/page" />` plus one entry per supported locale, including an `x-default` fallback. Hreflang must be **reciprocal** — every language version must link to every other language version of the same page — or Google ignores it. Common bugs: forgetting the self-reference, mismatched URLs in one direction, or using incorrect ISO 639-1 language codes.

Related terms

See it in action

Try InBuild free — no credit card required.