In short
Ahrefs flags "X-default hreflang annotation missing" when an hreflang set has no x-default value. Google recommends x-default to name the page for users whose language doesn't match any version, often a language selector or your main English page. It's optional, so this is a low-priority improvement, but it's a single line per set.
Hreflang covers the languages you have. x-default covers everyone else.
Example
<link rel="alternate" hreflang="en" href="https://example.com/page/">
<link rel="alternate" hreflang="de" href="https://example.com/de/seite/">
<link rel="alternate" hreflang="x-default" href="https://example.com/page/">
Here, a French or Spanish visitor would be shown the English page.
What should x-default point to?
| Setup | x-default |
|---|---|
| A main language most visitors understand | That language's page (often English) |
| A language or country selector page | The selector |
| A home page that adapts to the visitor | That home page |
Add x-default to every page in the set, with the same value, just like the other annotations.
WordPress: WPML and Polylang can output x-default; check the plugin's SEO or language settings.
Shopify: Shopify adds x-default for multi-language stores.
Webflow and Wix: both add x-default with their localization features, usually pointing to the primary language.
Custom builds: add one extra line to your hreflang template.
This guide isn't affiliated with or endorsed by Ahrefs.
Related issues
Sources and references
Google Search Central, Tell Google about localized versions of your page

About the author
Nazmul Nikhil
Head of SEO & Assistant Manager, Digital Marketing at Notionhive
SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.



