Hreflang
Hreflang is a tag that tells search engines which language or region each version of a page is for, so people get the version in their own language.
Each language version lists all the others, including itself, with codes such as `sv` or `en-gb`.Source 1 Without it a Swedish visitor may land on the English page, or the versions may compete with each other in search.
The links must go both ways and point to real, indexable pages; one-sided or broken pairs are simply ignored.Source 2
How Regular approaches it
When Regular builds a site in several languages, hreflang comes with the setup: every page knows its translations, so nobody has to maintain the tags by hand.
BenjaminWeb designer for sustainable and circular businessesSources and further reading
- Tell Google about localized versions of your page, Google Search Centraldevelopers.google.com
- Hreflang, Wikipediaen.wikipedia.org