Language alternates (hreflang)
Language alternates (hreflang). On a multilingual site hreflang tells engines which URL is which language so the Czech reader gets the Czech page. Done half-way it is worse than absent: a version that does not reference itself, a code like en-UK, or a canonical that points at another language hides pages from the index.
Key takeaways
- Check: Language alternates (hreflang) is a site-level check in the technical group.
- Fix: Codes: ISO 639-1 language, optionally ISO 3166-1 region — en-GB, pt-BR, cs (not cz), en-US (not en-UK).
- Not this: hreflang in the sitemap and in the HTML that disagree.
- Effort: 30 min, site-level check; the audit drafts the fix from your own page.
Why does “Language alternates (hreflang)” matter?
Single-language sites need none of this.
| Check | Language alternates (hreflang) |
|---|---|
| Layer | site-level check |
| Group | Technical |
| Typical effort | 30 min |
| Weight in the score | 2 on a scale of 1 to 3 |
| Checked by | the website, the Chrome extension and the WordPress plugin (same analyser, 69 checks) |
How do you fix “Language alternates (hreflang)”?
- Every language version lists every version including itself, plus x-default for the fallback.
- Codes: ISO 639-1 language, optionally ISO 3166-1 region — en-GB, pt-BR, cs (not cz), en-US (not en-UK).
- Each version keeps a self-referencing canonical.
- WordPress: Polylang / WPML emit these automatically; check one page in view-source.
What should you not do?
- Canonical on the Czech page pointing at the English page.
- hreflang in the sitemap and in the HTML that disagree.
- Listing a language you have not actually translated (machine-translated duplicates).
Example
<link rel="alternate" hreflang="cs" href="https://example.com/cs/strana/"> <link rel="alternate" hreflang="en" href="https://example.com/en/page/"> <link rel="alternate" hreflang="x-default" href="https://example.com/en/page/">
Frequently asked questions
How long does it take to fix "Language alternates (hreflang)"?
About 30 min. It usually needs a developer or the hosting panel.
Is "Language alternates (hreflang)" checked per page or for the whole site?
It is a property of the whole site, so fixing it once covers every page. The website, the Chrome extension and the WordPress plugin run the same check.
What is the most common mistake with "Language alternates (hreflang)"?
Canonical on the Czech page pointing at the English page.
Sources
About the author
Related checks
Does your page pass this check? The audit runs all 69 and drafts the fix for you.