Hreflang and international · Hreflang annotations
Invalid hreflang codes
This page labels itself en-UK in its hreflang. UK is not an ISO 3166-1 region code (the United Kingdom is GB), so the annotation is invalid.
How this page is built
The head of this page has three annotations. The first uses a region code that does not exist:
en-UK: this pageen-US: the US English versionx-default: the region picker
The US English version and the region picker label this page en-GB, which is correct.
Why it matters
Hreflang values must be an ISO 639-1 language code, optionally followed by an ISO 3166-1 alpha-2 region code. Search engines ignore any value they cannot read.
The most common mistake is en-UK. The region code for the United Kingdom is GB. Others include using a country code as a language, such as jp for Japanese (the language code is ja).
How to check it
List the hreflang values on each page and check them against the ISO code lists. Crawl tools report invalid codes.
How to fix it
Correct the value. Here it should be en-GB. If codes are typed by hand, a validation step in the CMS will catch the next one.