LaunchRanked

GlossarySEO

What does hreflang x-default mean?

Also called: x-default, hreflang="x-default", default language page

Definition

x-default is a reserved hreflang value that names the fallback page for searchers whose language or region doesn't match any of your localized versions, often a language picker or your main version.

hreflang x-default, explained

Google's localized versions documentation describes it this way: the reserved x-default value is used when no other language or region matches the user's browser setting, and it's recommended as the fallback page for users whose language settings don't match any of your localized versions. Its example uses a country selector page: <link rel="alternate" href="https://example.com/country-selector" hreflang="x-default" />.

It's part of the same annotation set as your other hreflang tags. Every version of a page lists all versions, including itself, and the x-default entry belongs in that list on every version. The same return-link rule applies: annotations that aren't reciprocated may be ignored. Like other hreflang values, it can be declared in HTML link tags, HTTP headers or the XML sitemap.

What to point it at depends on your setup. If you have a language picker page, use that. If your homepage detects language and redirects, point x-default at the unredirected homepage URL. If you have no picker, most sites point it at their main version, usually English, since that's what an unmatched visitor is most likely to read.

The mistakes are small and common: x-default on some versions and not others, pointing it at a URL that redirects or is noindexed, or using it as a substitute for a real language code, like tagging the English page only as x-default without also tagging it en.

Why it matters for founders

Without a fallback, a searcher in a market you don't serve may land on a random locale. x-default makes that choice deliberate.

Example

Your site has en, de and fr versions of pricing. Each includes all three plus hreflang="x-default" pointing to the English page, so a Japanese searcher gets English rather than French.

Common mistakes

  • Adding x-default to only one version.
  • Pointing x-default at a redirecting or noindexed URL.
  • Using x-default instead of a real language code for the main version.
  • Using an auto-redirecting URL without considering what Googlebot sees.

Sources

Checked

← All 274 glossary terms