What Is Hreflang and When Should You Use It?
If your website targets users in multiple countries or languages, hreflang is one of the most important technical SEO tools available to you. It is an HTML attribute — or an equivalent HTTP header or XML sitemap tag — that tells Google which version of a page is intended for which language or regional audience.
Without hreflang, Google may show the wrong language version of your page to the wrong users. A German speaker might see your English page, or a UK visitor might see your US-centric pricing. Hreflang solves this by giving Google a clear map of your international content.
How Hreflang Works
Hreflang tags use language and optionally regional codes to identify each version of a page. A tag reading hreflang="en-gb" signals that the page is in English and intended for users in Great Britain. A tag of hreflang="en-us" targets English speakers in the United States. A tag of hreflang="fr" targets French speakers regardless of country.
Each page in your international set must reference all other versions, including itself. If you have English, French, and German versions of a page, all three pages must contain hreflang tags pointing to all three URLs — including a self-referencing tag on each page. Google uses this reciprocal structure to validate the hreflang implementation.
When You Actually Need Hreflang
You need hreflang when you have the same or very similar content in multiple languages, or when you target the same language in different regional versions — for example separate sites for UK and Australian English-speaking audiences. If your site is entirely in one language targeting one region, hreflang is unnecessary.
A common situation for UK businesses is having an English site that also wants to rank in Ireland, Australia, or New Zealand. Without hreflang, Google may consolidate these pages incorrectly or serve the wrong version to users in different countries. Hreflang makes your intent explicit and helps Google serve the most relevant version.
Common Hreflang Mistakes
The most frequent error is incomplete implementation — adding hreflang to some pages but not others, or forgetting to include the self-referencing tag. Another common problem is pointing hreflang tags to pages that redirect or return errors. Every URL referenced in a hreflang tag must return a 200 status code.
Language codes must match the ISO 639-1 standard and region codes must match ISO 3166-1 alpha-2. Using incorrect codes — like "uk" for the United Kingdom (which is actually the code for the Ukrainian language) — will cause your hreflang implementation to fail silently. Always use "en-gb" for British English, not "en-uk".
Common questions.
Does hreflang affect rankings in all countries?
Should I use hreflang in the HTML head, HTTP headers, or sitemap?
What is the x-default hreflang value?
More on web design & ux.
Want a hand putting this into practice?
Book a free, no-obligation consultation with a Norwich-based specialist.
Let's put your business in a better light.
Book a free, no-pressure consultation. We'll talk through your goals and tell you honestly what we'd do — whether you work with us or not.