Glossary term
Hreflang
Hreflang is a label in a web page’s code that tells search engines about other language or regional versions of that page. It helps them choose the version intended for a particular audience.
A site might have separate English pages for the United States and United Kingdom, with different delivery details. In this HTML markup, en-US means English for the United States and en-GB means English for the United Kingdom:
<link rel="alternate" hreflang="en-US" href="https://example.com/us/">
<link rel="alternate" hreflang="en-GB" href="https://example.com/uk/">The href values give the addresses of the two pages. The labels do not translate anything: both pages need to exist already. For Google to recognize the relationship, the versions should identify themselves and link to each other.
Hreflang describes who each version is for. A separate setting called a canonical URL suggests which address is the main version of duplicate or similar content. The two labels have different jobs.


