My project
Technical SEO

What is hreflang?

Updated on November 6, 2026

hreflang is the attribute that tells search engines which language and region each version of a page serves, so that a French reader gets the French page and an English reader the English one.

A multilingual site repeats the same page in several languages. Without hreflang, Google may show the English page to a French searcher or treat the versions as duplicates. The attribute goes in each page's head (link rel=alternate hreflang) or in the sitemap, and lists every version including the page itself, plus an x-default for readers whose language is not served.

The rule only works when each page announces all its siblings and when the targets really exist and are translated. Announcing a French version that is an English page with a French menu is a duplicate signal; SeoGeoMap announces a translation only once the content is translated.

Frequently asked questions

Does hreflang improve ranking?

No. It routes readers to the right version and prevents versions from competing. The gain is in showing the right language, which lowers bounces, not in position.

What is x-default for?

It names the version to show when no listed language matches the reader. Usually the main language of the site, or a language selector page.

Related terms