How does Google hreflang processing work at the crawl and indexing level, and what causes hreflang annotations to be ignored despite correct implementation?
Answered 4-minute answer rooted in 2 pages
Google processes hreflang between pairs of pages that confirm each other. An annotation counts when both pages point to each other, and Google ignores it when they do not. Because confirmation needs both pages, “correct implementation” on one page is not enough: the other page has to be crawled, has to carry the return link, and has to be the URL Google actually indexes. When correct-looking markup has no effect, those three conditions on the other side of the pair are the first things to check.
The pair is the unit
Google’s hreflang documentation gives the rule and the reason in one place: “If two pages don’t both point to each other, the tags will be ignored. This is so that someone on another site can’t arbitrarily create a tag naming itself as an alternative version of one of your pages”.
The same page describes the scope of a failure more narrowly than older guides do. If a complete set is hard to maintain, “you can omit some languages on some pages; Google will still process the ones that point to each other”. A missing return link breaks that pair. It does not, by Google’s description, cancel every other relationship in the set.
Google adds one priority for growing sites: link newly added language pages in both directions with the site’s original or main language versions first. On a site that began in one market, those pairs matter more than the pairs between newer locales.
Where annotations can live
Google supports three methods and calls them “equivalent from Google’s perspective”:
| Method | Where Google reads it | Suited to |
|---|---|---|
| HTML <!–INLINECODE0–> elements | In the page head when the page is crawled | Standard HTML pages |
| HTTP <!–INLINECODE1–> header | In the response headers | Non-HTML files such as PDFs |
| XML sitemap | In the sitemap's entry for each URL | An alternative to editing page heads |
Google also notes that using all three at once has “no benefit in Search” and is harder to manage. Mixing methods across sections of one site is where a team can lose track of which set is authoritative.
Why correct-looking markup gets ignored
1. The return link is missing, or points somewhere slightly different. The return link has to name the exact URL that was annotated. A version that links back to http:// when the annotation uses https://, or to a URL with a trailing parameter, is pointing at a different address. Google also requires fully qualified alternate URLs, so a relative path such as /de/ in one template breaks the pair.
2. The other page has not been crawled or processed yet. Confirmation depends on Google having read both pages. A newly launched locale, or a deep page on a large site, can carry a correct annotation that Google has not seen. The markup is right; the confirmation does not exist yet.
3. The annotated URL is not the URL Google indexes. If a locale URL redirects, returns an error, or is treated by Google as a duplicate of another page, the annotation points at an address that is not in the index in that form. In Search Console’s URL Inspection tool, the “Google-selected canonical” field in the indexed result shows which URL Google chose. Google says it will consider a declared canonical but offers “no guarantee” it will choose it.
4. The content is not actually localized. Google treats localized versions as duplicates only when the main content is left untranslated. Two regional URLs with identical English text and different currency labels are the case where Google may consolidate rather than treat them as separate versions.
5. The codes are outside the supported standards. Google accepts ISO 639-1 language codes with optional ISO 3166-1 Alpha 2 region codes and ignores the rest. A template that writes en-UK instead of en-GB produces tags that look correct and do nothing for the region.
What a validator can and cannot confirm
A markup validator checks one page: syntax, codes and URL format. It cannot confirm causes 2 and 3, because those depend on Google’s crawl and index state for the other page. Google no longer offers a hreflang error report; the International Targeting report was deprecated in 2022. The confirmation check therefore combines a crawl that tests every pair from both sides with URL Inspection on the URLs that matter most. A large-network version of that check is a separate diagnostic job. The point here is the mechanism: hreflang is a mutual agreement between two indexed pages, and it holds only when both sides of the pair are in place.
Answers that share these roots
- How do you diagnose hreflang implementation failures across a network of 40+ locale variations when Google Search Console only surfaces a subset of errors? shares 2 pages
- What SEO risks emerge when an enterprise uses a translation management system that programmatically generates locale pages with thin or near-duplicate translated content? shares 1 page
- Why does a page that passes the URL Inspection tool live test still fail to get indexed correctly, and what rendering issues does the tool fail to surface? shares 1 page
- What diagnostic process determines whether a ranking issue on a JavaScript-heavy site stems from rendering failure versus content quality versus crawl budget depletion? shares 1 page
- What debugging methodology produces the most reliable comparison between what Googlebot renders and what users see, given that no single tool perfectly replicates Googlebot behavior? shares 1 page
- What diagnostic approach identifies why Google selects a different canonical than the one declared when all on-page signals appear consistent? shares 1 page
Leave a Reply