What is hreflang?
Hreflang is a tag in a page's code that tells a search engine: “this page has versions in other languages, and here they are”. Thanks to hreflang, a person in Germany sees the German version and a person in Spain the Spanish one. Without it, Google may show the wrong version or treat translations as duplicates.
Hreflang
A website in three languages has three versions of every page. Hreflang ties them into one group and labels them: this one is for English, this one for German, this one for Spanish.
Visitors do not see the tag. It is a service record, but without it a multilingual website loses positions in search.
Why a business needs it
The right language in search
The buyer lands on a page they can read.
Translations are not treated as duplicates
Google understands they are versions, not copies.
Different countries
You can show different pages for Austria and Germany in the same language.
Fewer bounces
A person does not leave on seeing a foreign language.
What to check on a multilingual website
| Check | How it should be |
|---|---|
| Each language has its own address | /en/, /de/, /es/ |
| Hreflang on every page | links to all versions and to itself |
| Default version | x-default is set |
| Language switcher | leads to the same page, not the home page |
| Translation | done by a person, not a plug-in |
Frequently asked questions
Short answers. We will go into detail on a call.
Is a browser translator enough?
No. A search engine does not see that translation, so you will not appear in local search.
Do we need a separate domain per country?
Not necessarily: /de/ and /es/ folders on one domain work and are easier to maintain.
Who adds hreflang?
The developer, once, when the website is built.
Still have questions?
Write to us — we will explain using your own website as the example.