SEO Audit (price of a coffee)Starting at $1 →
Technical SEO

What is X-Default Hreflang?

X-default is a special hreflang value that designates the default page for users whose language isn't specifically targeted.

The x-default hreflang is a special value of the hreflang attribute that tells search engines which page to display when no language version matches the user's language.

How does it work?

If your site has FR and EN versions, a Japanese user will see the x-default page. Typically, x-default points to the English version or a language selection page.

Syntax

Best practices

  • Always include x-default in your hreflang tags
  • Point to your main language or a language selection page
  • Ensure the x-default URL is accessible and functional
  • SEO Impact

    Without x-default, Google has to guess which version to show users whose language isn't targeted. This can lead to poor user experience and lost traffic.