Language and hreflang
Hreflang errors
Hreflang annotations are missing return links, use invalid language codes or point to URLs that redirect. Google ignores hreflang that does not add up.
What it means and why it matters
Hreflang tells search engines which language or regional version of a page to show each searcher. Every version must list all the others, including itself, and each must link back: if the English page names the German one but not the other way round, the pair is ignored.
Invalid codes (en-UK instead of en-GB) and targets that redirect are the other common mistakes.
How to fix it
- Check each page set with the Hreflang Checker.
- Add the missing return links and a self-reference on every version.
- Use ISO 639-1 language and ISO 3166-1 region codes, and add x-default for the fallback page.
Find it on your site
These free tools check for hreflang errors and run without a sign-up:
Hreflang Checker
Validate a page's hreflang tags: language and region codes, self-reference, x-default, relative URLs and canonical conflicts, and whether every alternate links back.
Hreflang Generator
Generate hreflang tags for your language and country versions as HTML link tags, XML sitemap entries or an HTTP Link header, with every code validated as you type.
Related issues
Sources
Browse every problem in the SEO Issues Library.