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-defaultto only one version. - Pointing
x-defaultat a redirecting or noindexed URL. - Using
x-defaultinstead of a real language code for the main version. - Using an auto-redirecting URL without considering what Googlebot sees.
Sources
Checked
Related terms
- hreflanghreflang is an annotation that tells search engines which language or regional versions of a page exist, so they can show each searcher the right one. Every version must link to every other version, including itself.
- International SEOInternational SEO is setting up a site so search engines show the right language or country version to each searcher: a clear URL structure per locale, hreflang annotations and genuinely localized content.
- Canonical tagA canonical tag is a line in a page's HTML,
<link rel="canonical" href="…">, that tells search engines which URL is the main version when several URLs show the same or very similar content. - ccTLDA ccTLD is a two-letter country-code top-level domain, like
.de,.fror.uk. Google treats most as a strong signal that a site targets that country; some, like.ioand.ai, it treats as generic.