Obtenez AI SEO GRATUITEMENT.

Apprendre encore plus!

What is hreflang? 

Hreflang est un attribut HTML qui spécifie la langue et l'emplacement du public auquel une page Web est destinée.

The hreflang attribute is mostly used by sites that publish in multiple languages or have content targeted at audiences within a geographic location.

Using the hreflang attribute, search engines like Google can determine the appropriate content to show the visitor depending on their language and location.

You can specify the hreflang attribute using the two-letter ISO 639-1 language code. For example, en for English and fr for French.

You can also specify it using the two-letter ISO 639-1 language code, a hyphen, and then the two-letter ISO 3166-1 alpha-2 country code. For example, en-US for English targeted at the US and fr-CA for French targeted at Canada.

The hreflang attribute is declared in a URL, as shown below.

<link rel=”alternate” href="https://www.yourdomain.com" hreflang="en-us" />
🇫🇷 Français