Skip to content
Arrampa
Language: EN, English
Join

Hreflang

The annotation that tells Google which version of a page belongs to each language and country.

What it is

Hreflang is an annotation that tells Google about the versions of a page in other languages or for other countries, so it shows each person the right one. It goes in the HTML head, in the HTTP headers or in the sitemap.

Each version must list itself and all the others, and the links must be reciprocal: if page A points to page B and B doesn’t link back, Google ignores the annotation. Addresses are written in full, with https. Hreflang doesn’t make a page rank higher; it helps the right version appear.

On a multilingual website

In Switzerland, almost any website with customers in several regions needs it. A dental clinic with practices in Zurich and Lausanne has /de/, /fr/ and /en/, and each page links to its equivalents with de-CH, fr-CH and en, plus an x-default. Without hreflang, Google may show the German page to someone searching in French. The typical faults are a missing return link and a badly written code.

How Arrampa checks it

Arrampa’s SEO audit runs 14 hreflang checks on every page. Among them: valid codes, a return link, a target that responds, a self-reference, x-default, the HTML, header and sitemap agreeing, and two rules designed for Switzerland.

See the tool: SEO audit

Source: Google Search Central: localised versions of your page

Related terms

Guides

The full glossary

Want to know when we open?

One email to confirm and one on the day we open. Nothing else.

First we ask you to confirm your email; after that we only write on the day we open. Unsubscribe in one click. How we handle your email.