What Does "Missing x-default hreflang" Mean?

URLs have one or more hreflang tags, but are missing an x-default hreflang tag.

Hreflang is a way to tell search engines that there are multiple versions of a page in different languages. This will help search engines serve visitors the most appropriate version of each URL by language or region.

Here's an example of hreflang tags for https://example.com/en-us/products, which is an English page targeting visitors in the United States that also has an English version targeting United Kingdom, a French version, a German version, and a default version available:

<link rel="alternate" hreflang="en-us" href="https://example.com/en-us/products" />

<link rel="alternate" hreflang="en-gb" href="https://example.com/en-gb/products" />

<link rel="alternate" hreflang="fr" href="https://example.com/fr/products" />

<link rel="alternate" hreflang="de" href="https://example.com/de/products" />

<link rel="alternate" hreflang="x-default" href="https://example.com/products" />

The x-default page typically does not target one language or region specifically, but is a generic "catch-all" page.

In the above example, https://example.com/products is listed as the x-default. So any other region that is not listed here (en-us, en-gb, fr, or de) will use this page.

Why It's Important

Using an x-default tag is not required, but in some circumstances could be useful. Evaluate whether you may want to have a default version of this URL (or already have one) and add this page as an x-default.

How To Fix

Choose the URL you want to use as the default for all languages and regions not already targeted and add an hreflang tag with the hreflang value set as x-default.

<link rel="alternate" hreflang="x-default" href="https://example.com/products" />

Hreflang can be complicated. We recommend carefully reading Google's guidelines on hreflang and testing thoroughly before implementing any changes.

Did this answer your question?