x-default
The hreflang value that says which version to show when no language or country on the list matches the user.
What it is
The x-default value is a reserved hreflang value that tells Google which page to show when none of the language or country versions matches the user’s browser settings. It’s the group’s default option.
It usually points to a language selection page or to the version meant for an international audience, often in English. It’s added as one more version in the group, and every version must include it, just as they include each other.
On a multilingual website
A travel agency in Lucerne with de-CH, fr-CH and it-CH has no version for someone searching in Portuguese, or for someone searching in English from Austria. With an x-default pointing to its English page, those people land on something they can read. Without it, Google decides on its own which version to show them.
How Arrampa checks it
Arrampa’s SEO audit warns you about pages with hreflang that don’t include an x-default.
Source: Google Search Central: localised versions of your page
Related terms
- HreflangThe annotation that tells Google which version of a page belongs to each language and country.
- Language and region codesThe value that identifies a page’s language and, if needed, its country: de-CH is German for Switzerland.
- Lang attributeThe HTML attribute that declares which language a page is written in, such as fr-CH on a page in French for Switzerland.
Guides
- SEO for a multilingual website in SwitzerlandA multilingual website ranks in Switzerland when each language has its own URL, copy written for that region and keywords researched in that language. The versions are linked with hreflang and measured separately. Here is the method, with what Google and Bing say.
- Hreflang step by stepHreflang is an annotation that tells Google which pages are versions of the same page in other languages or regions. It works if each version lists all of them, itself included, and they all link back to each other. Here is how to do it on a Swiss website and how to check it’s right.
Want to know when we open?
One email to confirm and one on the day we open. Nothing else.