Independent SEO consultant serving London & the UK+44 7472 849630info@seoconsultantlondon.onlineGoogle Business Profile
  1. Home
  2. Guides
  3. Hreflang and International URL Structure
SEO guide

Hreflang and International URL Structure

Hreflang annotations tell Google which language and regional version of a page to show to which audience. They need reciprocal links, correct codes and consistency with canonical tags. This guide explains when hreflang is relevant, how to implement it and how to choose an international URL structure.

  • Evidence-led recommendations
  • Plain-English reporting
  • Built for London and UK markets
Entity relationship diagram for Hreflang and International URL Structure

Quick answer

  • Use hreflang when you have equivalent pages for different languages or regions.
  • Every page must reference all alternates including itself, and each alternate must link back.
  • Hreflang URLs should be canonical, indexable and return a 200 status.
  • Choose URL structure, folders, subdomains or country domains, before implementing.

When hreflang is relevant

Hreflang tags matter when you publish the same or very similar content for different languages or countries, such as English pages for the UK and the US, or a site in English and German. They help Google serve the right version to each user and reduce the chance that one regional page is treated as a duplicate of another. They do not boost rankings by themselves and are not needed for a single-language, single-country site.

They are also a signal rather than a directive. Google combines hreflang with other signals, such as content language and links, when deciding which URL to show.

Checklist graphic for When hreflang is relevant (Hreflang and International URL Structure)
When hreflang is relevant

Hreflang syntax and examples

The attribute value combines a language code in ISO 639-1 format and optionally a region code in ISO 3166-1 Alpha 2 format, such as en-gb or de-de. In HTML it looks like <link rel="alternate" hreflang="en-gb" href="https://example.com/uk/">. You can also use HTTP headers for non-HTML files or XML sitemaps for large sites. Choose one method and keep it consistent.

Remember that region codes are for countries, not languages: en-uk is incorrect, and the correct code is en-gb.

Phased roadmap timeline for Hreflang syntax and examples (Hreflang and International URL Structure)
Hreflang syntax and examples

Return tags and x-default

Reciprocation is the rule that most implementations get wrong.

  • Each page must list itself and every alternate version
  • If page A points to page B, page B must point back to page A
  • Use x-default for a fallback page, such as a language selector or global version
  • Alternate URLs must be indexable and not redirected or blocked
  • Annotations must be consistent across HTML, headers and sitemaps if more than one is used
Search results page mock-up for Return tags and x-default (Hreflang and International URL Structure)
Return tags and x-default

Hreflang and canonical tags together

Each language version should have a self-referencing canonical tag, pointing to itself, not to another language version. Canonicalising all versions to one URL tells Google to ignore the others, defeating hreflang. When canonical and hreflang conflict, Google may disregard the hreflang. See canonical tags and duplicate URLs for the underlying rules.

Internal link network diagram for Hreflang and canonical tags together (Hreflang and International URL Structure)
Hreflang and canonical tags together

International URL structure options

Pick the structure that fits resources and goals.

StructureExampleProsCons
Subfolderexample.com/fr/Shared authority, easier managementWeaker geographic signal than a country domain
Subdomainfr.example.comSeparate hosting possibleMay be treated as a separate site
Country domainexample.frStrongest local signal and trustCostly and builds authority separately
Reporting dashboard graphic for International URL structure options (Hreflang and International URL Structure)
International URL structure options

How to validate hreflang

Crawl the site with a tool that checks hreflang, looking for missing return links, invalid codes, non-canonical targets and redirected or broken alternates. Test sample URLs manually, and use Search Console performance filtered by country to confirm the right pages appear in each market. Re-check after migrations and template changes, since hreflang often breaks silently.

Line chart showing organic growth for How to validate hreflang (Hreflang and International URL Structure)
How to validate hreflang

Hreflang examples, return tags and x-default

Useful hreflang examples are en-gb for English in the United Kingdom, en-us for the United States and de-de for German in Germany. Hreflang return tags confirm that each page references the other, and x default hreflang points to a fallback page. If hreflang canonical tags conflict, Google may ignore the annotations, so keep each version’s canonical pointing at itself.

Hreflang validation should include checks for language codes, reciprocal links, indexable targets and consistent methods. Run it on a sample first, then on the whole site.

Structured data code illustration for Hreflang examples, return tags and x-default (Hreflang and International URL Structure)
Hreflang examples, return tags and x-default

Multilingual URL structure and country targeting

A multilingual URL structure should be predictable: the same path after the language folder on every version, where content allows. International SEO URL structure choices influence hosting, authority and maintenance, as described above. Country targeting SEO relies on several signals together, including hreflang, content, currency and links. Language and region targeting is easiest when your business operations also reflect the markets you target, with local delivery, support and pricing.

Common hreflang mistakes

The usual mistakes are missing return links, using wrong or invented codes such as en-uk, pointing to redirected or noindexed URLs, and mixing methods that disagree. Other issues include forgetting self-references and using hreflang for pages that are not equivalents. Fix these by choosing one implementation method, validating on a sample and then at scale, and re-checking after releases.

Remember also that hreflang does not replace good localisation: if the content does not fit the market, no annotation will make it perform.

A worked example for a UK and Irish site

Suppose a retailer has /uk/ and /ie/ folders with similar English content but different currency and delivery. Each page lists three annotations: en-gb for the UK version, en-ie for the Irish version and x-default pointing to the UK page. Each version has a self-referencing canonical. We would crawl to confirm the return links, then check Search Console to see that Irish users are shown the Irish pages. Small, careful steps like these prevent most hreflang problems.

Planning an international structure

Decide markets, languages and structure first, then implement hreflang and localised content together. Our international SEO consultant service helps choose and validate the approach, and migrations to new structures are covered by SEO migration consultant support. To see our full range of services visit SEO consultant London.

Frequently asked questions

What is hreflang?

Hreflang is an annotation that tells search engines which language or regional version of a page to serve to which users.

Do I need hreflang for UK and US English?

If you have separate, similar pages for each market, yes. It helps Google show the correct version.

What is x-default?

It is a hreflang value that specifies a fallback page for users whose language or region does not match any listed version.

Can hreflang be used with a single language?

It is unnecessary for single-language, single-country sites.

Why is Google ignoring my hreflang?

Common causes are missing return links, wrong codes, non-canonical or redirected targets and conflicts with canonical tags.

Talk to an SEO consultant

Questions about this topic or your own site? Send a few details and you will get a clear, practical reply.

Request your SEO consultation

Tell us about your website. You will get a straightforward reply by email, with no obligation.

We use your details only to reply to this enquiry. Privacy policy.

Related pages

Get international targeting right

Send your website and goals. You will get a clear next step, not a generic sales pitch.

Book a free consultation
Get a quoteEmail us