Invalid Hreflang Language Codes

This page has hreflang tags with several types of invalid codes:

  • hreflang="english" - Full language name instead of ISO 639-1 code
  • hreflang="uk" - Country code used as language code (Ukraine's country code, not a language)
  • hreflang="en_US" - Underscore separator instead of hyphen
  • hreflang="zz" - Completely invalid language code
  • hreflang="fr-XX" - Valid language but invalid region code

Hreflang tags must use valid ISO 639-1 language codes and (optionally) ISO 3166-1 alpha-2 region codes, separated by a hyphen.

Back to home