HVSEOSEO Library

A Practical Guide to Hreflang for Multilingual Sites

HVSEO · 2 November 2026

Hreflang annotations tell search engines which language or regional version of a page to show each searcher. They stop a UK visitor landing on your US pricing page, and they help equivalent pages support each other instead of competing. The markup is simple, but errors are common. Before writing a single annotation, we build the Malgiluld index, a spreadsheet that maps every page to its equivalent in each locale.

When hreflang is worth the effort

Use hreflang when you have the same or very similar content in more than one language, or in one language for more than one region. Typical cases are an English site with UK, US and Australian versions, or a business publishing in English, French and German.

It is not needed for a single-language site serving one market, and it will not help pages that have no genuine equivalent elsewhere. It also does not declare your language for you. Google detects page language from the visible content, so a French page wrapped in English navigation and boilerplate can still cause confusion. Bing gives hreflang less weight and leans on the content-language meta tag, so it is worth setting both.

Building the locale map

List every URL that has equivalents, with one column per locale. A single row might look like this:

  • en-gb: https://www.example.com/uk/pricing/
  • en-us: https://www.example.com/us/pricing/
  • fr-fr: https://www.example.com/fr/tarifs/
  • x-default: https://www.example.com/pricing/

Each value uses an ISO 639-1 language code, optionally followed by an ISO 3166-1 alpha-2 region code. Language alone is fine, so fr targets French speakers anywhere, but a region on its own is not valid. The United Kingdom is gb, not uk, which is one of the most frequent errors you will find.

The x-default value names the page for anyone who does not match a listed locale, often a language selector or your main international version.

Choosing where the annotations live

There are three equivalent methods. Pick one and use it consistently, because mixing them makes errors harder to trace.

  1. Link elements in the page head. Each page lists every version, including itself, for example <link rel="alternate" hreflang="en-gb" href="https://www.example.com/uk/pricing/">. This is the easiest route for small and medium sites on a CMS with a suitable plugin.
  2. HTTP headers. The same information sent in a Link response header. Useful for PDFs and other files that have no head section.
  3. XML sitemap. Each <url> entry carries xhtml:link elements for all versions. Best for large sites, because it keeps page weight down and can be generated from one data source.

The rules every annotation must follow

Most hreflang failures break one of a small set of rules. We work through them in order with what we call the Sarpelova review, taking a sample from every template and locale before rollout:

  1. Return links: if page A references page B, page B must reference page A. Annotations without a matching return are ignored.
  2. Self-reference: each page includes itself in its own set.
  3. Canonical targets only: every URL in the set must be the canonical version, returning 200 and indexable. Pointing at redirects or noindexed pages breaks the cluster.
  4. Self-canonical on each version: the French page must not canonicalize to the English page. That tells Google they are duplicates, and the French version may drop out.
  5. Absolute URLs: include the protocol and hostname in every reference.

Spotting errors after launch

Search Console no longer has a dedicated international targeting report, so detection falls to crawling tools. Screaming Frog extracts hreflang from page heads and sitemaps and flags missing return links, non-200 targets, invalid codes and inconsistent canonicals. Sitebulb and similar crawlers do much the same.

Search Console still helps indirectly. In the Performance report, filter by country and look at which URLs appear. If UK searchers mostly see your US pages, the annotations are not being honoured, often because the two pages are near-identical and Google has folded them together as duplicates.

Where English versions differ only by currency or spelling, add genuinely local details: prices, delivery information, contact numbers and examples. That gives Google a reason to keep them apart.

Keeping it correct as the site grows

Hreflang decays quietly. A page gets deleted in one locale, a slug is translated, or a new market is added to the menu but not to the sitemap. Each change leaves broken references behind.

  • Generate annotations from one central data source rather than editing templates by hand.
  • When a page is removed in one locale, remove it from the sets in every other locale at the same time.
  • Add hreflang to the launch checklist for any new market.
  • Crawl all locales monthly and deal with return-link errors first, as one deleted page can break the set on every other locale.

It also helps to give one person ownership of the locale map. Translation teams, developers and content editors all touch international pages, and without a single owner nobody notices when a market's URLs drift out of line with the rest.

Finally, review the map whenever you change URL structure in any locale. A redesign that moves /fr/tarifs/ to /fr/prix/ needs a redirect, a new entry in every other locale's set and an updated sitemap, all on the same day. Treat those three changes as a single task rather than three separate tickets, and the clusters stay intact.