Short answer: Hreflang is an annotation that tells search engines which language or regional version of a page to show each user. It is a hint, not a directive, and across many markets it fails quietly through missing return links, canonical conflicts, invalid codes, plugins and removed markets.
Key Takeaways
- Google ignores a hreflang pair unless both pages point to each other. One missing return link breaks the relationship.
- Hreflang should only point to canonical, indexable URLs returning 200. Google’s Gary Illyes has said one noindex can affect a whole cluster.
- Only ISO 639-1 language codes and ISO 3166-1 Alpha 2 region codes work. en-GB is valid; en-UK is not.
- Pick one implementation method. Google treats HTML, HTTP headers and XML sitemaps as equivalent, and mixing them invites conflicts.
- Most hreflang damage happens at market launch and market removal. Put change control around both.
- At portfolio scale, hreflang is a monitored system with an owner per market, not a one-off tag.
In This Post
- What Is Hreflang, and Is It Important?
- What a Valid Hreflang Set Needs
- Seven Failure Modes at Portfolio Scale
- Two Failures That Are Not Tag Errors
- The Failure-Mode Table: Detection, Impact and Owner
- Hreflang Implementation: Head, HTTP Headers or XML Sitemaps?
- Monitoring and Governance
- How Hreflang Interacts With Structure Decisions
- Hreflang Checker and Generator Tools
- FAQs
- Final Thoughts
- More Resources
Hreflang works perfectly on one site with two markets. Then you add a third brand, a fifteenth market and a CMS plugin, and it breaks without telling anyone.
Hreflang is an annotation that tells search engines which language or regional version of a page to show a user. It is a hint, not a directive.
In this post, you’ll learn what a valid hreflang set needs, the failure modes I see at portfolio scale, how to detect each one, and who should own the fix.
If you are the executive, read the table and the governance section. If you are the SEO, the code is in here too.
What Is Hreflang, and Is It Important?
The hreflang attribute sits on a link rel alternate element, an HTTP header or an XML sitemap entry. It says: this page has an equivalent in another language or region, and here it is.
Is hreflang important? On a multi-market site, it decides which version ranks in each market.
Get it wrong and a UK user lands on the Irish page, or a market version drops out of the results altogether.
That costs conversions, because wrong-market pages carry the wrong offers, currency and trust signals. In regulated markets it can also put a page built for one licence regime in front of users in another, which is a compliance conversation, not an SEO one.
But keep expectations honest. In May 2025, Search Engine Journal reported John Mueller’s reply to a site owner whose fr-be pages were showing in France, under the headline that hreflang tags are hints, not directives (Search Engine Journal, 12 May 2025).
“hreflang doesn’t guarantee indexing, so it can also just be that not all variations are indexed.” … “Often hreflang will still swap out the URL, but reporting will be on the canonical URL.”
Source: John Mueller, Google, via Search Engine Journal, May 2025
And Gary Illyes said on Search Off the Record that he would want “less and less annotations” and more automatically learned signals (Search Engine Journal, July 2024). The same podcast discussion put hreflang use at only about 9% of home pages.
So hreflang is not magic. But Google still says it “will continue to support and use hreflang tags” (Search Console Help), and at scale the errors compound.
[DATA: Dan to add the scale of hreflang he has governed, generic, e.g. “I’ve governed hreflang across N brands and N markets.”]
What a Valid Hreflang Set Needs
Here are the google search central hreflang guidelines, boiled down. Look what Google’s own documentation says.
“Each language version must list itself as well as all other language versions.” … “If two pages don’t both point to each other, the tags will be ignored.”
Source: Google Search Central, Tell Google about localized versions of your page
So a valid set needs six things. [PERMISSION: GainChanger deck data]
- Self-reference: each page lists itself as well as its alternates.
- Return links: if /uk/ points to /ie/, /ie/ must point back to /uk/.
- Valid codes: an ISO 639-1 language code, optionally followed by an ISO 3166-1 Alpha 2 region code.
- Live URLs: absolute, canonical, indexable and returning 200. Google says alternate URLs “must be fully-qualified.”
- x-default: the fallback “used when no other language/region matches the user’s browser setting.”
- One method: head tags, HTTP headers or the XML sitemap.
Here is hreflang html for a UK and Ireland pair, the alternate hreflang elements going in the html head of each page.
<!-- In the <head> of https://example.com/uk/ -->
<link rel="alternate" hreflang="en-GB" href="https://example.com/uk/" />
<link rel="alternate" hreflang="en-IE" href="https://example.com/ie/" />
<link rel="alternate" hreflang="x-default" href="https://example.com/" />
<!-- https://example.com/ie/ carries exactly the same three tags -->
[PERMISSION: GainChanger deck data, confirm before publishing]
That is how to add hreflang tags correctly. Every page in the set carries the identical block.
Tip: Alternate URLs can sit on different domains. Google says they “do not need to be in the same domain,” which is what makes cross-domain hreflang between ccTLDs possible.
Seven Failure Modes at Portfolio Scale
These are the ones that cost markets. None of them throws an error message on the page.
1. Missing Return Links After a Market Launch or Removal
You launch /nz/. The new pages list every alternate. The 14 existing markets never get updated to point back at /nz/.
Google ignores every pair that is not confirmed. Screaming Frog puts it neatly: “Hreflang is reciprocal, so all alternate versions must confirm the relationship” (Screaming Frog).
This is the most common failure I see, because launches are owned by the new market team and nobody owns the old pages.
2. No Self-Referencing Hreflang
Should hreflang tags tag the page they’re on? Yes.
Google’s documentation asks each version to list itself. Screaming Frog notes that Google has since treated self-reference as optional (Screaming Frog, Dan Sharp).
Include it anyway. It costs nothing, and generating the same block for every page in a set is simpler and less error-prone than generating a different block per page.
3. Hreflang Pointing at Non-Canonical, Redirected or Noindex URLs
This is the hreflang canonical conflict, and it is the one that confuses developers most.
If /ie/ carries a canonical tag pointing to /uk/, you have told Google that /ie/ is a duplicate of /uk/ while also telling it /ie/ is a separate market version. Those signals contradict each other.
Canonical hreflang rules are simple: hreflang should only reference the canonical, indexable version of each page, and each page should canonicalise to itself. Google’s canonical guidance says to “specify a canonical page in the same language” and notes Google “prefers URLs that are part of hreflang clusters” (Google Search Central).
Noindex is worse than it looks. Gary Illyes said “it might mean that one noindex can affect the whole cluster” (Search Engine Roundtable, August 2022).
4. Invalid Language or Region Codes
“Only language codes listed in ISO 639-1 and region codes listed in ISO 3166-1 Alpha 2 are supported”
Source: Google Search Central
The classic is en-UK. The ISO 3166-1 code for the United Kingdom is GB, so en gb (written en-GB) is correct (ISO 3166).
It gets better. On its own, “uk” is the ISO 639-1 code for Ukrainian (Library of Congress, ISO 639 code list). So hreflang=”uk” tells Google the page is in Ukrainian. Forgive me, but that is a long way from Manchester.
Two more traps from Google’s own list: you “can’t specify the country code by itself,” and codes such as es-419 for Latin American Spanish “aren’t supported.”
5. CMS or Plugin Mislabelling
WordPress hreflang plugins, translation plugins and headless CMS language settings all write language data for you. Which is great, until they write the wrong thing.
GainChanger found a WordPress plugin adding an HTML attribute to German content that marked it as French; fixing it produced results within hours. [PERMISSION: GainChanger deck data]
Here is the nuance. Google says it “doesn’t use hreflang or the HTML lang attribute to detect the language of a page” and reads the visible content instead (Google Search Central).
But Bing’s webmaster guidance has said it reads the content-language meta tag, the HTML lang attribute and the content-language HTTP header to place a document (Bing Webmaster Blog, March 2011). And if the same plugin also generates your hreflang tags, the error flows straight into Google’s annotations too.
Simply put, every plugin update is a release that can change your language signals. Test it like one.
6. Mixed Methods That Disagree
A sitemap says /de-at/ is the Austrian version. The page head says a different URL is. Which wins?
Neither, really. John Mueller said Google would combine signals from HTML and sitemaps, but on a conflict “That’s one situation where our systems would probably have to guess” (Search Engine Journal, November 2020).
Google’s documentation adds that using more than one method brings “no benefit in Search.” Pick one.
7. Market Removed, Hreflang Still Pointing at 404s
You close a market. The pages are deleted. The hreflang on every other market still lists them.
GainChanger found one large site had removed more than 400 URLs from a Finnish folder and left them returning 404. [PERMISSION: GainChanger deck data]
Every one of those dead alternates is a broken pair, and the clusters they belonged to have to be cleaned on every remaining market.
[EXAMPLE: Dan to add one hreflang incident he found and fixed, anonymised, with impact as a percentage, e.g. “share of wrong-market impressions fell from N% to N% within N weeks of the fix”.]
Two Failures That Are Not Tag Errors
8. Geo-IP Redirects Hiding Versions From Googlebot
Google says “the Googlebot crawler usually originates from the USA” and advises against automatic redirects and IP-based adaptation (Google Search Central).
On geo-blocked sites, GainChanger often finds Googlebot blocked or served another market’s version by IP. [PERMISSION: GainChanger deck data] Your hreflang can be perfect and Google still never sees the page it points to. Check CDN and edge rules, not just templates.
9. Same-Language Pages Too Similar to Stand Apart
If your en-GB and en-IE pages are word-for-word identical, Mueller says “it’s common that one is chosen as canonical.” Hreflang may still swap the URL shown, but reporting sits on the canonical (Search Engine Journal).
The fix is not a tag. It is genuinely local content: prices, offers, regulators, examples.
The Failure-Mode Table: Detection, Impact and Owner
Each row stands on its own. Copy it into your runbook.
| Failure mode | How to detect it | Symptom | Business impact | Fix | Owner |
|---|---|---|---|---|---|
| Missing return links | Screaming Frog Hreflang tab, Missing Return Links filter | Wrong market version ranking; new market slow to appear | Lost conversions in the affected market | Regenerate the full set on every page in the cluster | Asset owner; platform engineering |
| No self-reference | Missing Self Reference filter | Usually none visible; inconsistent sets | Low on its own; signals sloppy generation logic | Generate one identical block per cluster | Platform engineering |
| Non-canonical, redirected or noindex targets | Not Using Canonical, Non Canonical Return Links, Noindex Return Links, Non-200 Hreflang URLs filters | Versions missing from the index; reporting on another URL | A whole cluster can underperform | Point hreflang at self-canonical 200 URLs only | Asset owner; technical SEO |
| Invalid codes | Incorrect Language and Region Codes filter | Annotation ignored | Market version not targeted at all | Use ISO 639-1 plus ISO 3166-1 Alpha 2, e.g. en-GB | Technical SEO |
| Plugin or CMS mislabelling | Crawl after every plugin or CMS update; custom extraction of html lang and content-language | Language signals contradict visible content | Wrong-language rankings, especially on Bing | Fix configuration; add the check to release QA | Platform engineering |
| Mixed methods disagree | Multiple Entries filter; crawl the XML sitemap alongside the site | Unstable version selection | Google may drop the conflicting pair | Choose one method; remove the other | Technical SEO |
| Removed market still referenced | Non-200 Hreflang URLs filter; sitemap audit | 404s in clusters; crawl waste | Clusters broken across all remaining markets | Redirect or remove, then clean every remaining set | Asset owner (market removal checklist) |
| Geo-IP hides versions | Fetch as Googlebot from US IPs; URL Inspection rendered screenshot | Google sees the wrong market page | Market version never indexed | Exempt Googlebot from geo and IP rules; no forced redirects | Platform engineering; legal and compliance |
| Same-language near-duplicates | Compare Google-selected canonical in Search Console; content similarity | Reporting on one URL for several markets | Weaker local relevance | Localise content materially | Local market lead |
Filter names are from Screaming Frog’s hreflang audit guide (Screaming Frog).
Hreflang Implementation: Head, HTTP Headers or XML Sitemaps?
Head tags, HTTP headers or XML sitemap? Pick one method per site.
“The three methods are equivalent from Google’s perspective”
Source: Google Search Central
| Method | Best for | Watch out for |
|---|---|---|
| HTML head (link rel alternate) | Small and medium sites; easy to inspect on the page | Page weight grows with every market; tags outside a well-formed head are ignored |
| HTTP headers | Non-HTML files such as PDFs, as Google notes | Hard to audit without crawling headers; easy to forget at the CDN |
| XML sitemaps | Large estates with many alternates | Every URL entry must list all alternates including itself; sitemaps go stale if not regenerated |
My view: hreflang sitemaps win once you have many markets per page, because the logic lives in one generated file rather than in every template. Google notes the alternate child elements “don’t count towards the URL limit for sitemaps,” which helps.
<url>
<loc>https://example.com/uk/</loc>
<xhtml:link rel="alternate" hreflang="en-GB" href="https://example.com/uk/" />
<xhtml:link rel="alternate" hreflang="en-IE" href="https://example.com/ie/" />
<xhtml:link rel="alternate" hreflang="x-default" href="https://example.com/" />
</url>
<!-- Repeat for https://example.com/ie/ with the same three xhtml:link lines.
The urlset needs xmlns:xhtml="http://www.w3.org/1999/xhtml" -->
Monitoring and Governance
How do you monitor hreflang across many markets? Scheduled crawls, alerts and an owner per market.
One thing has changed. Search Console no longer has an International Targeting report; Google deprecated it, with removal reported for 22 September 2022 (Search Engine Land). Your crawler is now your hreflang report.
Step 1: In Screaming Frog, go to Config, Spider, Crawl and tick Crawl and Store for Hreflang. Tick Crawl Linked XML Sitemaps if hreflang lives in sitemaps.
Step 2: For cross-domain sets, add the other domains under Config, CDNs so their hreflang is crawled too.
Step 3: After the crawl, run Crawl Analysis so the Unlinked Hreflang URLs filter populates.
Step 4: Review the Hreflang tab filters in the table above, and open URL Details for any page to see every annotation.
Those paths are from Screaming Frog’s documentation. Note its stated 500 hreflang annotation limit per URL, which very large clusters can hit (Screaming Frog).
[IMAGE NEEDED] screenshot of the Screaming Frog Hreflang tab with the filter list visible (Missing Return Links, Not Using Canonical, Noindex Return Links, Non-200 Hreflang URLs), on a test site using example.com. No Grandstand URLs. | Alt: Hreflang audit in Screaming Frog showing missing return links and non-200 hreflang URL filters | Caption: Screaming Frog Hreflang tab on a test site. Screenshot from Screaming Frog SEO Spider, [Month Year]
Then govern it. These are my suggested defaults; tune them to your estate.
- Cadence: weekly scheduled crawls of each asset; a full crawl after every release that touches templates, plugins or the CDN.
- Alerts: any new Missing Return Links, Non-200 Hreflang URLs or Noindex Return Links on money pages triggers a ticket.
- Owner per market: named in the runbook, with platform engineering owning generation logic.
- Change control: no market is launched or removed without the checklist below.
[DATA: Dan to add his actual monitoring cadence and alert thresholds, as a process description.]
Market launch checklist:
- New pages self-canonical, indexable, returning 200.
- New market added to the generated set on every existing page in each cluster.
- Codes validated against ISO 639-1 and ISO 3166-1 Alpha 2.
- x-default reviewed.
- Geo-IP rules exempt Googlebot.
- Post-launch crawl with zero new hreflang errors before sign-off.
Market removal checklist:
- Decide redirect targets for every removed URL; Google recommends keeping redirects “generally at least 1 year” (Google Search Central).
- Remove the market from every remaining set and from sitemaps on the same release.
- Crawl to confirm no Non-200 Hreflang URLs remain.
[IMAGE NEEDED] release checklist diagram for a new market and for a market removal, two columns, steps as listed above, owner named on each step. | Alt: Release checklist diagram for adding or removing a market in a multi-market site | Caption: Market launch and removal checklist. Image created by author, October 2026
Tip: [TEMPLATE: downloadable market launch and removal checklist with owner fields.]
How Hreflang Interacts With Structure Decisions
Hreflang maps versions to audiences. It does not fix a weak structure or an authority gap.
Google says language-specific subdomains are not used to determine the target audience, so whatever structure you choose, hreflang still does the mapping (Google Search Central).
And Illyes noted that a page in the wrong language for the searcher gets “a negative demotion” regardless (Search Engine Journal, July 2024), while admitting his hands-on knowledge of hreflang processing dated from around 2016.
Choose the structure first. My post on subdomain vs subdirectory for international SEO covers that decision, and international SEO strategy at portfolio scale covers markets and owners.
Hreflang Checker and Generator Tools
A neutral list. No affiliate links.
- Crawlers: Screaming Frog SEO Spider and Sitebulb both audit hreflang across a crawl. For a single URL, an online hreflang checker is fine for a spot check.
- Generators: an hreflang generator is useful for a prototype. At scale, generate sets from your CMS or a market mapping table, not by hand.
- Search Console: check which URL Google treats as canonical for each market version, as Search Engine Journal advised in its May 2025 hreflang coverage, to see whether a same-language version has been folded into another.
- Your own checks: a scheduled crawl plus a diff of hreflang sets between releases catches most regressions.
Google’s documentation lists third-party tools for debugging and notes that “These tools are not maintained or checked by Google.”
For where hreflang sits in a wider audit, see my 90-minute technical SEO audit.
FAQs
What is hreflang?
Hreflang is an annotation, placed in the HTML head, an HTTP header or an XML sitemap, that tells search engines which language or regional version of a page to show each user. Google treats it as a hint rather than a directive, so it guides version selection but does not guarantee indexing or ranking.
Is hreflang important?
On a multi-market site, yes. Hreflang helps decide which version ranks in each market, and errors can send users to the wrong market or drop a version from results. On a single-market, single-language site it does not apply, so skip it there and spend the time elsewhere.
Should hreflang tags reference the page they are on?
Yes. Google’s documentation asks every page to list itself as well as all alternates, and although some tools now describe self-reference as optional, including it is simpler and safer. Generate one identical hreflang block for every page in a cluster, so each page carries itself and every alternate.
What happens if return links are missing?
Google ignores the pair. Its documentation says that if two pages do not both point to each other, the tags will be ignored. One missing return link after a market launch or removal can therefore break the relationship between versions and leave the wrong page ranking in a market.
How do hreflang and canonical tags interact?
Hreflang should point only to canonical, indexable URLs returning 200, and each version should canonicalise to itself within the same language. A canonical pointing to another market version contradicts the hreflang. Google’s Gary Illyes has said one noindex can affect a whole hreflang cluster.
Where should you put hreflang tags?
In one place only: the HTML head, HTTP headers or the XML sitemap. Google treats the three as equivalent and says using more than one brings no benefit. For large estates with many alternates, sitemaps are usually easiest to generate and govern. HTTP headers suit non-HTML files such as PDFs.
How do you fix hreflang tags with errors?
Crawl with hreflang crawling and storage enabled, then work through the return link, canonical, noindex, non-200 and invalid code filters. Fix the generation logic, not individual pages, so the error cannot return. Re-crawl to confirm, then add the check to release QA and assign an owner per market.
Final Thoughts
- Hreflang is a hint. It still decides a lot at scale, and its errors compound.
- Return links, canonical conflicts and invalid codes cause most of the damage.
- Plugins and removed markets are the silent killers. Treat both as releases.
- Pick one implementation method, ideally generated, ideally sitemaps on large estates.
- Monitor it like a system: scheduled crawls, alerts, an owner per market and change control.
Share the failure-mode table with your head of engineering. It is the fastest way to get hreflang on the release checklist.
If you want help building that governance, see how I approach technical foundations and international SEO.
More Resources
- Subdomain vs subdirectory for international SEO: what portfolios actually show
- International SEO strategy at portfolio scale
- How to run a technical SEO audit in 90 minutes
- International and programmatic SEO leadership
- Technical foundations for search and AI search
References
- Google Search Central, “Tell Google about localized versions of your page”, Google for Developers. https://developers.google.com/search/docs/advanced/crawling/localized-versions
- Google Search Central, “Managing multi-regional and multilingual sites”, Google for Developers. https://developers.google.com/search/docs/advanced/crawling/managing-multi-regional-sites
- Google Search Central, “How to specify a canonical URL with rel=”canonical” and other methods”, Google for Developers. https://developers.google.com/search/docs/advanced/guidelines/duplicate-content
- Google Search Central, “Site Moves and Migrations”, Google for Developers. https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes
- Google, “The International Targeting report is deprecated”, Search Console Help. https://support.google.com/webmasters/answer/12474899
- Search Engine Land, “Google Search Console to remove International Targeting report”, 2022. https://searchengineland.com/google-search-console-to-remove-international-targeting-report-387477
- Matt G. Southern, report on Google reminding that hreflang tags are hints, not directives, Search Engine Journal, 12 May 2025. https://www.searchenginejournal.com/google-reminds-that-hreflang-tags-are-hints-not-directives/546428/
- Matt G. Southern, report on Google combining hreflang signals from HTML and sitemaps, Search Engine Journal, 30 November 2020. https://www.searchenginejournal.com/google-combines-hreflang-signals-from-html-sitemaps/389219/
- Barry Schwartz, report on Gary Illyes and noindex in an hreflang cluster, Search Engine Roundtable, 8 August 2022. https://seroundtable.com/google-hreflang-noindex-33882.html
- Matt G. Southern, report on Gary Illyes discussing incorrect hreflang and language mismatch, Search Engine Journal, 29 July 2024. https://www.searchenginejournal.com/google-insights-can-incorrect-hreflang-tags-hurt-seo/523208/
- Matt G. Southern, report on Google possibly relying less on hreflang in favour of automatic language detection, Search Engine Journal, 29 July 2024. https://searchenginejournal.com/google-may-rely-less-on-hreflang-shift-to-auto-language-detection/523224
- Google Search Relations, “Search Off the Record: Internationalization and hreflang”, podcast, 25 July 2024. https://search-off-the-record.libsyn.com/internationalization-hreflang
- Screaming Frog, “How To Audit Hreflang”, SEO Spider tutorials, last modified 10 January 2025. https://www.screamingfrog.co.uk/how-to-audit-hreflang/
- Dan Sharp, Screaming Frog hreflang guide, Screaming Frog, 12 December 2016, last modified 27 February 2024. https://www.screamingfrog.co.uk/hreflang/
- ISO, “ISO 3166: The International Standard for country codes and codes for their subdivisions”. https://committee.iso.org/iso-3166-country-codes.html
- Library of Congress, “Codes for the Representation of Names of Languages” (ISO 639-2 with ISO 639-1 codes). https://loc.gov/standards/iso639-2/php/code_list.php
- Bing Webmaster Blog, “How To Tell Bing Your Website’s Country and Language”, March 2011. https://blogs.bing.com/webmaster/March-2011/How-To-Tell-Bing-Your-Website-s-Country-and-Langua
- GainChanger, “How to Run a Technical SEO Audit in 90 Minutes”, “Common iGaming Affiliate Mistakes 2026” and “Review into International Domains”, presentation decks (not public; cited with permission).