Free auditStart free
GlossaryGlossary · International SEO

Hreflang

Hreflang annotations connect translated or regional page variants. See the reciprocal-link rule, valid formats, and a practical launch check.

3 min
read
2
sources
Oct 24, 2026
updated
Scaplet Editorial Team
author
In one line

hreflang annotations tell Google which language or regional versions of a page belong together, helping it show the most appropriate version to a searcher. Each version should list itself and its alternate versions with fully qualified URLs. Hreflang is a signal about page variants; Google determines page language algorithmically and does not use the annotation itself to detect language.

30-second check

Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Explained

When hreflang helps

Add alternate annotations when you have substantially equivalent pages for different languages or regions: for example, translated product pages, or English pages with small regional differences for the US and UK. Google also identifies translated templates with unchanged main content as a case where alternate versions are useful. Hreflang does not replace writing content for the intended audience.

Google does not use hreflang or the HTML lang attribute to detect a page's language. It uses algorithms for that. Use correct language and regional codes to describe the versions, then make sure the actual page matches each declaration.

02Check it

The reciprocal rule

Each version lists itself and every alternate, and the set is identical on every page. Use fully qualified URLs with the protocol, such as https://example.com/en/product, not //example.com/en/product or /en/product. If two pages do not both point to each other, Google ignores the tags.

The example is a set, not a snippet to paste unchanged. Every URL must resolve to the matching page and every alternate must repeat the complete set, including its own URL. You can declare the set in HTML, HTTP headers, or a sitemap; Google calls the three methods equivalent and says there is no benefit in Search to using all three, so one is simpler to maintain.

Same set on each variant page
<link rel="alternate" hreflang="en" href="https://example.com/en/product">
<link rel="alternate" hreflang="en-gb" href="https://example.com/uk/product">
<link rel="alternate" hreflang="de" href="https://example.com/de/product">
03Worth knowing

Common implementation failures

One-way references

A page points to its translation but the translation does not point back. Google ignores the tags.

Missing self-reference

Include the current page in its own alternate set.

Relative URLs

Use fully qualified URLs with https:// or the actual protocol.

Unsupported codes

Google accepts ISO 639-1 language codes with an optional ISO 3166-1 Alpha 2 region code. A country code cannot stand alone, and codes outside those standards, such as es-419, are not supported.

Three mechanisms drift apart

If HTML, headers, and sitemaps are all maintained, keep every list synchronized. Google says using all three gives no benefit in Search and can be much harder to manage.

Expecting hreflang to fix duplicate URLs

Choose a canonical URL for duplicates separately. Google considers localized versions duplicates only when the main content stays untranslated.

04How it works

Check a launch before rollout

  1. 1

    Build a URL map

    List each page family and its language or region variants. Do not pair a page with a translation that does not cover the same content.

  2. 2

    Validate each set

    For every page, confirm the alternate list includes that page and every peer, uses fully qualified URLs, and points to pages returning the intended content.

  3. 3

    Choose one delivery method

    Use HTML, response headers, or sitemap annotations based on your publishing stack. If you use a sitemap, keep each alternate set complete and current.

  4. 4

    Test representative page families

    Check the source HTML or generated sitemap for a translated product, a category, and a content page. Recheck after CMS or routing changes that could alter canonical URLs.

For the adjacent URL decision, see canonical URL. If you use hreflang, Google says to specify a canonical page in the same language, or the best possible substitute language if none exists. For the platform-specific setup, see Squarespace hreflang.

Questions

Asked a lot.

2 questions people ask next, answered from the sources on this page.

01Does hreflang guarantee Google will show the selected locale?

Google does not promise that. It says the annotations help Search point users to the most appropriate version of your page by language or region.

02Can I use a sitemap instead of hreflang tags in HTML?

Yes. Google supports HTML, HTTP headers, and sitemap annotations and considers them equivalent. Choose the method your team can keep accurate.

Sources · 2

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • google.com
  1. 01Tell Google about localized versions of your pagedevelopers.google.com · checked 2026-10-24
  2. 02How to specify a canonical URL with rel=canonical and other methodsdevelopers.google.com · checked 2026-10-24
Free · 2 minutes

Know the term. Now check your site.

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly