Skip to the content

Nothing is charged this year: every tool and every check. See the plans

98,626 bot visits counted on ursy.com · updated 2 Dec, 09:05 UTC
Start free

No x-default hreflang

There is no x-default line, so Google has no fallback page for visitors whose language matches none of your versions.

Low priority Languages and countries

Why it matters #

x-default is the hreflang value for everyone else. Google uses it for people whose language or region matches none of your versions, and recommends adding one. It is often a language picker or your main version.

Without it, Google picks a version for those visitors itself, which may not be the one you want them to see first.

How to fix it #

Add <link rel="alternate" hreflang="x-default" href="..."> to every version, pointing at your language picker or main version. Use the same x-default address on all versions.

Most multilingual plugins have a setting for it. Check with the Hreflang Checker.

What it looks like, and fixed #

The problem
<link rel="alternate" hreflang="en-GB" href="https://www.example.com/">
<link rel="alternate" hreflang="de" href="https://www.example.com/de/">

No fallback for visitors whose language is neither English nor German.

Fixed
<link rel="alternate" hreflang="en-GB" href="https://www.example.com/">
<link rel="alternate" hreflang="de" href="https://www.example.com/de/">
<link rel="alternate" hreflang="x-default" href="https://www.example.com/">

x-default points at your main version or a language picker, and is the same on every version.

Fix it with your AI assistant #

Paste this into ChatGPT, Claude, Gemini or your coding agent. Fill in the words in [square brackets] first. It checks before it changes anything, changes only this, and tells you how to prove it worked.

Your instruction for the AI
Help me add an x-default hreflang to [your website address], built with [your platform, e.g. WordPress with WPML]. A checker says the hreflang tags on [the page address] have no x-default line, so Google has no fallback for visitors whose language matches none of my versions. First, read the page source (or ask me to paste the hreflang lines) and list the versions. Ask me which page should greet everyone else: my main version or a language picker. Explain plainly what x-default does. Then give me the exact line, <link rel="alternate" hreflang="x-default" href="...">, with a full https address, to add to every version, and tell me where to set it: plugin settings, theme template, custom code or the sitemap. Rules: back up first, add only this line, use the same x-default address on every version, keep all other hreflang lines exactly as they are, and do not change page addresses. Finally, tell me to re-check with the URSY.com Hreflang Checker at ursy.com/hreflang-checker/.

We find the problems, and help you fix them

  1. Check Run a free tool or the full audit.
  2. Fix it with your AI Download your AI Fix Pack and drop it into ChatGPT, Claude or Gemini. A free account is enough.
  3. Re-check Come back, check again, and watch each fix turn green.

How the AI Fix Pack works, with a sample to download

Fix it on your platform #

WordPress #

Most multilingual plugins add x-default or have a setting for it. If yours does not, add it with the plugin's filter or a small piece of custom code.

A hand-made site #

Add one x-default line to the shared hreflang list, so it prints on every version.

Check it is fixed #

Run the Hreflang Checker again: each version should carry one x-default line with the same address.

Official source #

Google Search Central: Tell Google about localized versions of your page

Questions #

Is x-default required? #

No, but Google recommends it. Without it, Google picks a version for everyone else itself.

Can x-default point at a page that already has a language code? #

Yes. Pointing x-default at your main English page, which also has en-GB, is common and fine.

More problems in Languages and countries

See every problem in the library

For AI assistants and developers: Instructions for AI · Developers · How to cite URSY.com