A fallback language version (x-default)

How the scan counts language versions in your hreflang tags, when three or more without x-default is a warning, and how to add the fallback.

What AuditX checks

The scan reads the link elements with rel="alternate" and an hreflang value in the head of the page you scanned. It counts the distinct language values, ignoring upper and lower case, and does not count x-default as a language. The check is an info note, which does not lower the score, when there are no hreflang tags. It is also an info note when fewer than 3 distinct language values are declared, because the code does not expect an x-default for only one or two versions. With 3 or more, it passes when one of the tags has the value x-default. It warns when none does, and lists the languages it found. A value such as en-GB and en-US counts as two distinct values here. The check does not open the alternates and does not check that the x-default address works. It reads only the tags in the head of this one page, so hreflang that is listed only in the sitemap is not seen.

Why it matters

Google Search Central describes x-default as the fallback version for visitors whose language or region does not match any of your versions, and recommends it for sites with several versions.

The same page explains that x-default is optional but is the way to say which page a visitor should get when no language version fits. Without it, you leave that choice undefined.

How to fix it

  1. Decide which version should be shown to visitors who match none of your languages. A language picker page or your main language version are common choices.
  2. Add one link element with hreflang="x-default" in the head of every language version, pointing at that page.
  3. Keep the full set identical on every version, so each page lists itself, all the others and the fallback.
  4. If you have only two language versions, you can skip this. The scan does not ask for it in that case.
<link rel="alternate" hreflang="x-default" href="https://www.example.com/" />

Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.

Scan my site

Sources

Related checks

Last reviewed 2026-11-13.