DELTAWEB
All posts
Technical SEO

hreflang x-default Explained: The Correct 2026 Setup

hreflang x-default explained: which page to target, self-referencing and return-link rules, code samples and common errors. Audit your export site today.

hreflang x-default Explained: The Correct 2026 Setup
8 minReading time
Arif KuruAuthor

Roughly two out of three multilingual export websites we audit either have no hreflang x-default at all or point it at the wrong page. The result: a buyer in Germany searches, Google shows the Turkish version, and your competitor gets the click.

x-default is one line of a hreflang set, but that line is your answer to Google's question: "I have no version matching this visitor's language, so which page should I show?" This guide covers the correct hreflang x-default setup for 2026 through a Turkish exporter scenario, with code samples and the mistakes we still see most often.

Key Takeaways

  • x-default is not a language; it is a fallback marker that names the version to show when no language or region matches.
  • For a Turkish exporter, the right target is almost always the English version (/en/), not the Turkish root; a language-selector page only qualifies if it does not auto-redirect.
  • Every page must list itself (self-referencing), and if page A points to page B, page B must point back to A (return link).
  • There are three delivery methods: HTML <link> tags, the HTTP Link header, and the XML sitemap. Pick one; never mix them.
  • One x-default per set. Declaring a separate x-default per language, using relative URLs, and pointing at 404s are the most expensive mistakes.

What x-default is, and what it is not

x-default is a special value inside the hreflang family. Regular values (tr, en, de-AT) say "this URL is for this language and region." x-default says: "if the searcher's language or region matches none of the versions I listed, show this URL."

What x-default is not:

  • It is not a canonical; it names no "original" page.
  • It is not a redirect; it only signals search engines.
  • It belongs to no language; it always stands alone.

In our experience many teams assume x-default "goes to the site's primary language." On sites built in Türkiye that means the Turkish root page, and that assumption alone is why international visibility underperforms. For the wider list of pitfalls, see our international SEO guide.

Which page should x-default point to? A Turkish exporter scenario

Picture an agricultural machinery maker in Konya: Turkish content lives at the root (anadolumakina.com/), English under /en/, German under /de/. About 80% of customers are in Europe, the Middle East, and Africa, and most foreign visitors speak neither Turkish nor German. Three options:

OptionWhen it makes senseRisk
x-default = Turkish root pageOnly when the domestic market is primary and export is secondaryEvery unmatched foreign visitor sees a Turkish page; click-through rate drops
x-default = English version (/en/)Export-focused sites selling into markets where English is the trade languagePractically none; the default recommendation for Turkish exporters
x-default = Language-selector pageSites with very different product ranges, prices, or distributors per regionIf the selector auto-redirects, crawling breaks; users need an extra click

For most exporter projects the verdict is clear: point x-default at the English version, the language an unmatched buyer in Norway, Vietnam, or Chile is most likely to read. The Turkish root is tagged only with hreflang="tr". If you prefer a language-selector page, make sure it never redirects by IP and links to every language with plain <a> tags; our language selector design guide covers the UX side.

With ccTLDs (.com.tr plus .com) the logic is identical: x-default goes to the domain serving the widest audience. To choose between subdirectories and ccTLDs, read our URL structure guide.

The two least understood hreflang rules cause most errors:

  1. Self-referencing: every page must list its own URL inside the hreflang set. If /en/products/ omits itself as hreflang="en", Google may treat the set as invalid.
  2. Return links: if the Turkish page points to the English page, the English page must point back. One-way declarations are ignored; otherwise anyone could declare a competitor's site as their alternate.
  3. x-default is part of the set: the page x-default points to (in our scenario /en/) is also listed as hreflang="en". The same URL appearing twice with two hreflang values is correct and expected.

Rule of thumb: with N languages, every page carries N lines plus one x-default, and the block is identical across all versions. In Konya every product page carries four lines: tr, en, de, x-default.

In industry practice HTML tags are the most common; the sitemap is preferred on large catalogs (5,000+ URLs) to keep HTML lean; the HTTP header is the only option for non-HTML files such as PDFs.

<link rel="alternate" hreflang="tr" href="https://anadolumakina.com/urunler/balya-makinesi/" />
<link rel="alternate" hreflang="en" href="https://anadolumakina.com/en/products/baler/" />
<link rel="alternate" hreflang="de" href="https://anadolumakina.com/de/produkte/ballenpresse/" />
<link rel="alternate" hreflang="x-default" href="https://anadolumakina.com/en/products/baler/" />

The identical block goes into the <head> of all three pages. URLs must be absolute.

Link: <https://anadolumakina.com/katalog-2026.pdf>; rel="alternate"; hreflang="tr",
      <https://anadolumakina.com/en/catalog-2026.pdf>; rel="alternate"; hreflang="en",
      <https://anadolumakina.com/en/catalog-2026.pdf>; rel="alternate"; hreflang="x-default"

Confirm the server actually returns the header with our free Header Inspector.

3) XML sitemap

<url>
  <loc>https://anadolumakina.com/urunler/balya-makinesi/</loc>
  <xhtml:link rel="alternate" hreflang="tr" href="https://anadolumakina.com/urunler/balya-makinesi/" />
  <xhtml:link rel="alternate" hreflang="en" href="https://anadolumakina.com/en/products/baler/" />
  <xhtml:link rel="alternate" hreflang="de" href="https://anadolumakina.com/de/produkte/ballenpresse/" />
  <xhtml:link rel="alternate" hreflang="x-default" href="https://anadolumakina.com/en/products/baler/" />
</url>

Every language version gets its own <url> block repeating the same set, and urlset must declare the xmlns:xhtml="http://www.w3.org/1999/xhtml" namespace.

Region codes (en-US, en-GB) and how x-default fits

Exporters running separate English pages for the US and the UK (currency, units, distributors) often ask: "Should x-default go to en-US or en-GB?" Usually the answer is a third option: publish a region-neutral hreflang="en" version and give x-default to that. A buyer in Australia is then forced into neither regional page.

Without a neutral version, assign both en and x-default to the regional page serving your largest market; for US-focused exporters we see, that is typically en-US. Reminder: language is ISO 639-1, region is ISO 3166-1 Alpha-2, so en-UK or en-EU are invalid, and region alone (hreflang="US") is not allowed.

Conflicts with IP-based redirects

The classic way to get x-default right and then waste the work: the server auto-redirects visitors by IP. Googlebot crawls predominantly from the US; redirect every request to /en/ and it never sees your Turkish and German pages, cannot validate the set, and x-default becomes meaningless. On sites we have measured, this single mistake collapses the whole declaration into "no return tag" warnings in Search Console.

Replace forced redirects with a language suggestion banner ("Also available in English") and store the choice in a cookie. If a redirect is unavoidable, apply it only to the root URL, keep every version linked, and never exempt bots (cloaking). Full rules are in our geo-redirect guide. On a multi-region CDN, make sure edge rules follow the same logic; see the multi-region CDN guide.

Common x-default mistakes

  • Relative URLs: writing href="/en/". Google requires absolute URLs; relative ones are silently discarded.
  • Canonical conflicts: if /en/ canonicalizes to the Turkish page, the set contradicts itself. Every version must be self-canonical.
  • Pointing at a 404 or a redirect: the x-default URL must return 200; a 301/302 or 404 invalidates the set.
  • A separate x-default per language: tr on the Turkish page, en on the English page. There is exactly one x-default per set, pointing to the same URL on every version.
  • Homepage only: hreflang is page-level; product, category, and blog pages need it too.
  • Pointing at a noindex page: excluded pages have no place in the set; the x-default target must be indexable.
  • Mixing methods: one set in the HTML, another in the sitemap; conflicting signals make Google distrust both.

Validating in Search Console and testing methods

The old International Targeting report is gone; in 2026 you validate from these sources:

  1. URL Inspection: confirm the Google-selected canonical equals your declared canonical. If they differ, your hreflang set is weakened too.
  2. Performance report, country filter: check which URLs earn impressions from Germany. Turkish URLs showing for German searches mean the de version is broken on x-default or return links.
  3. Bulk crawl: the hreflang tab in Screaming Frog or a similar crawler lists missing return links, non-200 hreflang URLs, and missing x-default. Check monthly.

Fixes show in two to six weeks depending on crawl frequency; compare country-level click-through rate before and after.

Conclusion: one line, the right target

The hreflang x-default recipe for exporters is short: point x-default at the English version, list the full set (including the page itself) on every page, use absolute URLs, pick one delivery method, and stop fighting IP redirects. Your next step today: open the source of your five highest-RFQ product pages and check that the line count and x-default target are identical on all of them.

If your set looks inconsistent, or Turkish URLs still surface in German search results, let us run the technical audit: explore our international SEO service or request a quote and we will review your current hreflang status in the first call.

FAQ

Frequently Asked Questions

  • What is hreflang x-default?

    x-default is a special value in the hreflang set. It names the fallback page a search engine should show when the searcher's language or region matches none of the versions you listed. It is not a language code and does not replace a canonical or a redirect.

  • Which page should x-default point to on a Turkish exporter's site?

    On export-focused sites x-default should usually point to the English version (/en/), the language an unmatched foreign visitor is most likely to read. The Turkish root page is tagged only with hreflang="tr". A language-selector page qualifies as x-default only if it does not auto-redirect.

  • Do I declare a separate x-default for each language version?

    No. There is exactly one x-default per set, and it points to the same URL on every language version. Setting x-default to Turkish on the Turkish page and to English on the English page is one of the most common mistakes and invalidates the set.

  • Is self-referencing hreflang mandatory?

    Yes. Every page must list its own URL inside the hreflang set. In addition, if page A points to page B, page B must point back to A (return link); one-way declarations are ignored by Google.

  • Should I deliver hreflang via HTML, HTTP header, or sitemap?

    For small and mid-sized sites, link tags in the HTML head are the most practical. Catalogs with thousands of URLs usually prefer the XML sitemap. The HTTP Link header is the only option for non-HTML files such as PDFs. Choose one method and never mix them.

  • Do IP-based language redirects break hreflang?

    Yes, badly. Googlebot crawls mostly from the US; if you redirect every request to the English version, it cannot see the other languages or validate the set. Use a language suggestion banner and a cookie-stored preference instead of forced redirects.

  • How do I find hreflang x-default errors in Search Console?

    The old International Targeting report no longer exists. Use URL Inspection to compare the Google-selected canonical with yours, filter the Performance report by country to see which URLs appear, and run a crawler such as Screaming Frog to list missing return links, non-200 URLs, and missing x-default.

Related Articles

No comments yet

Leave a Comment