The most common mistakes
- Missing return link. The Czech version links to the English one but not the other way round.
- Relative URLs. hreflang needs full addresses with https://.
- Linking to a redirected or noindex page. The target must return 200 and be indexable.
- Wrong code. For the United Kingdom it’s en-GB, not en-UK.
- Conflict with canonical. Each language version has a canonical pointing to itself, not to another language.
This website has five language versions and an automatic test checks their hreflang tags on every build.