Hreflang Cluster Validation: The Full Set, the Return Links, and the Mistakes That Void Them

Hreflang cluster validation is the check that the language versions of a page declare each other completely and consistently: every version listing the same full set of alternates, including itself, with valid language codes and an x-default fallback. A single hreflang tag is never judged alone — search engines read the whole set, and a set that disagrees with itself can be ignored in full. This article explains what hreflang does and does not do, states the cluster rule with a worked example, walks the failure modes that silently void a cluster, compares the three declaration channels, and shows how the Hreflang Cluster Validator checks a live cluster — this site runs 11 locales, so its own pages live under the same rule.

What hreflang does — and what it does not

Hreflang tells a search engine that several pages are versions of the same content for different languages or regions, and which URL fits which audience: hreflang="fr" is the French version, hreflang="en-GB" the English version for the United Kingdom, hreflang="pt-BR" the Portuguese version for Brazil. When it works, a searcher in Lyon is offered the French page and a searcher in London the British one, instead of both being shown whichever version happened to rank.

Just as important is what hreflang is not. It is a hint, not a redirect: it does not move a visitor who lands on the wrong version — that is the job of your own language negotiation, and forcing redirects by IP has its own problems. It is not a directive either: Google may ignore a cluster it cannot confirm, and it never translates anything. And it does not replace the page’s own signals — a page declared hreflang="fr" should actually be written in French, with matching html lang and content.

The cluster rule: one set, everywhere, both ways

The rule has three parts. First, the full set: every page in the cluster declares the same complete list of alternates — every language version, plus the x-default entry. Second, self-reference: each page includes its own URL in its own list. Third, return links: the relationship must run both ways between every pair, so if the English page lists the French page, the French page lists the English page back. A worked example makes it concrete: a page published in English, French and German is a cluster of four entries — en, fr, de and x-default — and those exact four link tags, with the same four hrefs, appear on all three pages; only the page’s own canonical and content differ.

Why so strict? Because the set is the confirmation. Any page on the web can claim to be the French version of your English page; what makes the claim believable to a search engine is that the English page says so too. When one page’s set differs from the others — one missing link is enough — the engine can no longer tell which list is authoritative, and Google’s documented behaviour is to drop annotations it cannot confirm rather than guess. The cluster therefore fails as a whole, silently: nothing in the markup looks broken, and no error appears anywhere unless you go looking for the disagreement. The Hreflang Cluster Validator showing the wordpress.com demo: score 100 out of 100, 25 alternates declared, 11 pages fetched

The failure modes that silently void a cluster

The most common failure is drift: a new language version launches, its own page carries the full new set, and nobody updates the ten existing pages — from that day, every old page’s set is missing one entry and the new page’s return links point at pages that do not link back. Close behind is the missing self-reference, where a template prints the alternates but forgets the page itself, and the one-way pair, where a redesign keeps the links on one version and drops them on another.

Then come the small-typo failures. Relative hrefs (/fr/page instead of https://example.com/fr/page) are invalid — every href must be fully qualified. Wrong codes are endemic: jp is the country code for Japan, but the language code is ja; UK is a reserved region code, and the valid code for the United Kingdom is GB, so en-UK is invalid while en-GB works; a language code is ISO 639-1, a region ISO 3166-1, a script like Hans in zh-Hans ISO 15924. Case is softer — Google reads codes case-insensitively — but the documented form is a lowercase language with an uppercase region, and consistency costs nothing. Finally, an alternate that returns a 404 or redirects away quietly breaks its pair: the other page links to a URL that no longer confirms anything.

What x-default is for

The x-default entry answers the question the language versions cannot: which page should a visitor get when their language matches none of the versions? It points at a fallback — commonly a language-and-country selector page, or the site’s default-language version of the page. It is a full member of the set: it appears in every page’s list like any other entry, and its href is one of the cluster URLs (often the default version’s own URL, as in the worked example below).

Missing x-default is a warning in the validator, not an error, because a cluster without it still works for the languages it does cover. But it leaves the unmatched visitor to the search engine’s guesswork, and on sites whose traffic is genuinely global that guess lands on the wrong version often enough to matter. Treat x-default as part of the set from the start: when a version is added or removed, the x-default entry is reviewed with the rest, not bolted on later.

Three channels: HTML head, HTTP headers, sitemap

A cluster can be declared in three places. In the HTML head, as tags — the most common channel, visible in the page source and easy to audit. In HTTP Link response headers (the mechanism standardised by RFC 8288), which work for non-HTML resources like PDFs that have no head to put tags in. Or in the sitemap, where each entry carries its alternates as xhtml:link children — the channel that suits very large sites whose page templates are hard to change. Google reads all three.

The channels are alternatives, not layers: pick one home for a cluster and keep it authoritative. Declaring in two channels is allowed, but then both must agree, and in practice the sitemap is the one that drifts — it is generated at a different time, by a different process, from the pages themselves. Whichever channel you choose, validate it: the head and headers with the Hreflang Cluster Validator, the sitemap file with the Sitemap & Feed Validator. A cluster that is valid in one channel and stale in another is two clusters arguing, and the search engine believes neither.

How the validator scores a cluster

The validator fetches one version’s URL through the checker server, extracts its alternates from the head and the Link headers, records its canonical, then fetches up to 10 of the alternate URLs and extracts their sets the same way. It builds the union of everything the fetched pages declare and checks each page against it: missing entries, a missing self-reference and asymmetric pairs are errors; invalid codes, relative hrefs, duplicates and non-200 alternates are errors; a missing x-default, a canonical pointing at a different page, mixed http/https hrefs and non-canonical code case are warnings. The score starts at 100, deducts 10 per error (capped at −50) and 3 per warning (capped at −15): 90+ Excellent, 70–89 Good, 50–69 Needs work, below 50 Poor. The cluster matrix in the report — pages by declared entries — is where a missing link shows up as a single ✗ in a row of ✓ marks.

Two limits belong in the open. The fetch cap is 10 alternates: a site declaring 25 versions, like the wordpress.com demo (25 entries, 11 pages fetched, score 100), gets its declared sets compared in full, but pages past the cap are never fetched, so their own declarations go unverified — spot-check a few by entering their URLs directly. And a valid cluster is not a ranking promise: the validator proves the set agrees with itself, not that Google will index every version or show the one you expect. Structure first; the rest is the pages themselves.

Worked example: one page of a three-version cluster

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

Sources

Frequently asked questions

Do I need hreflang if my versions are on different country domains?

Yes — the domain does not declare the relationship by itself. A .fr domain tells a search engine plenty about geography, but the cluster rule is the same: each version lists the full set of alternates, itself included, with return links on every page, whether the versions live on ccTLDs, subdomains (fr.example.com) or subdirectories (example.com/fr/). The validator works the same in all three layouts, because it follows the declared hrefs wherever they point.

Can one page belong to two clusters, or target two regions with one URL?

A URL can carry several hreflang values only in the sense that the SET contains one entry per language-region target — but each entry’s href is one URL, and a single URL should be the target of exactly one language version per cluster (plus x-default, which may share the default version’s URL). Two different pages claiming hreflang="en" in the same set is a duplicate the validator flags: search engines cannot tell which one is the English version, so both claims weaken.

How often should I re-validate a cluster?

At every change that touches the set: launching or retiring a language version, a redesign or template change, a domain or URL-structure migration, and any change to canonical tags. Drift is the top failure mode precisely because clusters are edited one page at a time. A full check costs one URL per cluster — enter any version and the validator fetches the rest — so re-validating after a release is minutes of work, and it is far cheaper than discovering months later that a whole language stopped being confirmed.