The language should be taken according to the SO 639-1 standard , the region - ISO 3166-1 Alpha 2 ; the hreflang attribute can contain two parameters: language and region. and specifying the language is a mandatory condition. Conclusion Let's summarize all of the above: In order for users from different countries and regions to receive relevant language versions of the site's pages from the search, it is recommended to use the rel=”alternate” hreflang attribute.
The hreflang attribute indicates to the search engine Libya Email List that the site contains identical pages in different languages (or in one) and that they are optimized for different regions. The hreflang attribute prevents pages from gluing together, making them index and rank better. There are 3 ways to implement rel=”alternate” hreflang on a site: using HTML tags, XML sitemap and headers For a page that is not tied to a specific language or region, you must specify the hreflang attribute Using the hreflang attribute helps to more efficiently distribute traffic between the pages of the site.

Frequently asked questions about the hreflang attribute: Why do you need Hreflang? The hreflang attribute indicates the presence of two identical pages, but translated into different language versions or intended for different regions. There are three ways to implement the hreflang tag: HTML tags, XML maps, and headers. How does Hreflang work? With this attribute, you mark all the different URLs of your site that have similar content. Serpstat SEO Plugin is an extension for quick site analysis.