SEO Glossary

Hreflang

Hreflang is an HTML attribute that tells search engines which language and, optionally, which regional version of a page to show to searchers in a specific language or country.

For a site with multiple language or country-specific versions of the same content (a UK English page and a US English page, or an English and a French version), hreflang tags tell search engines these pages are equivalent alternates for each other, and which one to serve to a searcher based on their language and location settings. Each page in a set typically includes a self-referencing hreflang tag plus tags pointing to every other language/region variant, so search engines understand the full set of alternates rather than just a one-way relationship. Without hreflang, search engines are left to guess which version is most relevant to a given searcher, and near-duplicate content across regional versions can also risk being treated as unintentional duplication. Hreflang values combine a language code (like "en") with an optional region code (like "en-GB" or "en-US"), and a common catch-all value, "x-default", specifies which version to show when no other match applies.

Why it matters

For any site genuinely serving multiple language or regional markets, correctly implemented hreflang is one of the more technically fiddly but high-value pieces of international SEO — getting it wrong (or skipping it) commonly leads to the wrong regional page showing up for searchers, or near-duplicate content confusion.

Frequently asked questions

Do I need hreflang if my site only has one language version?+

No — hreflang is specifically for sites with multiple language or regional versions of equivalent content. A single-language, single-region site has no alternates to declare, so it doesn't apply.

Is hreflang a ranking factor?+

Not directly in the sense of boosting rankings, but it's a targeting signal — it helps ensure the right regional or language version is the one search engines choose to show a given searcher, which affects relevance and click-through rather than raw ranking position.

What happens if hreflang tags are implemented incorrectly?+

Common mistakes (missing return tags, incorrect language/region codes, inconsistent implementation across the page set) can mean search engines ignore the hreflang signals entirely or show the wrong regional version to searchers — it's a feature that's easy to implement partially wrong without any obvious error message.

Try your first 3 articles free

No credit card required. See real output for your own business before you pay anything.