On this page
What this issue is
hreflang is an annotation that tells search engines which page to show for which language or region. Each page lists itself and its alternates, for example <link rel="alternate" hreflang="fr" href="https://example.com/fr/" />.
The tag only works if the URL in href is a real, final page. This issue happens when that URL redirects (301 or 302), returns an error such as 404 or 410, or is blocked from the index with a noindex tag or header. Search engines treat the annotation as invalid and skip it.
It usually appears after a site migration, a change to trailing slashes or http to https, a removed translation, or a plugin that builds URLs from an old setting.
Why it costs you leads or sales
When hreflang is ignored, Google picks the language version on its own. A visitor in Germany may land on your English page, or a UK shopper may see a US price. Visitors who can't read the page or see the wrong currency leave before they fill in a form or buy.
Broken tags can also leave a translated page unconnected to its siblings, so it ranks less well in its own market. The impact is usually medium: it rarely breaks a site, but it quietly sends the wrong visitors to the wrong pages.
- Search in GermanUser in Germany searches your brand or product
- hreflang readGoogle reads the de URL from the English page
- URL redirects, 404s or is noindexThe tag is ignored
- English page shownWrong language in results
- Lead or saleVisitor leaves without converting
The tag points to a URL that fails, so the local page is never matched to the searcher.
Example: a 10-language site where the share of valid hreflang URLs drops after a migration. Numbers are illustrative.
How to check if your site has it
You need to collect every hreflang URL and test its status and indexability. Pick the method that fits the size of your site.
Crawl the site with an SEO crawler
Tools such as Screaming Frog SEO Spider or Sitebulb have an hreflang report. In Screaming Frog, enable crawling of hreflang in Configuration > Spider > Crawl, then open the Hreflang tab and look at the filters 'Non-200 hreflang URLs', 'Unlinked hreflang URLs' and 'Noindex Confirmation Links'.
Test a single page by hand
View the page source, search for
hreflang, and open each listed URL. Check the final URL in the address bar matches, and the page loads normally.Check status codes in the terminal
Run
curl -sIL -o /dev/null -w '%{http_code} %{url_effective}\n' URLfor each alternate. Anything other than a single 200 with the same URL is a problem.Look for noindex
Search the alternate page source for
noindexin a robots meta tag, and check response headers forX-Robots-Tag: noindex.Review Google Search Console
Use the URL Inspection tool on an alternate URL to see if it is indexable. Google retired its International Targeting report, so rely on a crawler for hreflang errors.
curl -sIL -o /dev/null -w '%{http_code} %{url_effective}\n' https://example.com/fr/
# Good: 200 https://example.com/fr/
# Bad: 200 https://example.com/fr/accueil/ (it redirected)
# Bad: 404 https://example.com/fr/| Problem | What you see | Fix |
|---|---|---|
| Redirect | 301 or 302 to another URL | Put the final URL in hreflang |
| 404 or 410 | Page not found | Restore the page or remove the tag |
| noindex | Meta robots or X-Robots-Tag noindex | Remove noindex or remove the tag |
| Blocked by robots.txt | Googlebot cannot fetch it | Allow the URL or remove the tag |
How to fix it
The rule is simple: every hreflang href should be the exact final URL of a live, indexable page. Decide for each broken URL whether to repair the page or drop the annotation.
List every failing URL
Export the non-200 and noindex hreflang URLs from your crawl, with the pages that reference them.
Redirecting URLs: use the destination
Replace the old address with the final URL, including the correct protocol, host and trailing slash.
404 or 410 URLs: restore or remove
If the translation should exist, bring the page back. If not, remove that language from the hreflang set on every page that lists it.
noindex URLs: decide the intent
If the page should rank, remove the noindex tag or header. If it should stay out of search, remove it from hreflang everywhere.
Keep sets consistent
After changes, make sure each page in a group still lists the same set of alternates.
Recrawl
Run the crawl again and confirm the non-200 filters are empty.
Update the multilingual plugin
In WPML, Polylang or TranslatePress, check that each translation is published and its slug is current. These plugins generate hreflang from the translation links.
Check the SEO plugin
In Yoast SEO or Rank Math, make sure the translated page is not set to noindex under the page's advanced settings.
Clear caches
Purge page and CDN caches so the corrected tags appear.
Use Shopify Markets
Shopify Markets adds hreflang for domains and subfolders automatically in most themes. Check that each market's domain or subfolder is live in Settings > Markets.
Fix hardcoded tags in the theme
Search theme.liquid for
hreflang. Remove hardcoded tags that point to old URLs.Check redirects
In Online Store > Navigation > URL redirects, make sure no redirect sends a market URL elsewhere.
Avoid injecting hreflang with GTM
Tags added by JavaScript may be missed by search engines. If you inject them with a Custom HTML tag, move them to the page head or the sitemap.
Use Localization
If you use Webflow Localization, confirm each locale is published and its subdirectory is live.
Remove manual tags
If you added hreflang in Page settings > Custom code, update or delete tags that point to old slugs.
Check indexing
In Page settings, make sure 'Exclude this page from search results' is off for pages in hreflang.
Edit the head code
In the funnel or website page settings, open Tracking Code or Custom Code, and update any hreflang links to the final published URLs.
Check page settings
Make sure the page is published and not set to hide from search engines.
Use Wix Multilingual
Wix adds hreflang for translated pages. Check that each language page is published and indexable.
Check SEO settings
In each page's SEO settings, make sure 'Let search engines index this page' is on.
Check manual tags
Squarespace has no built-in hreflang for separate sites. If you added tags in Settings > Advanced > Code Injection, update them to live URLs.
Check page visibility
Make sure the page is not disabled and 'Hide from search results' is off in the page's SEO settings.
Generate tags from a single source
Build hreflang from the same map of canonical URLs your routes use, so a changed URL updates every tag.
Return the right status
Check that alternates return 200 and no X-Robots-Tag noindex header.
<link rel="alternate" hreflang="en-gb" href="https://example.com/uk/" />
<link rel="alternate" hreflang="fr-fr" href="https://example.com/fr/" />
<link rel="alternate" hreflang="de-de" href="https://example.com/de/" />
<link rel="alternate" hreflang="x-default" href="https://example.com/" />Broken
- fr tag points to /fr (301 to /fr/)
- de tag points to a deleted page (404)
- es tag points to a page with noindex
- Google ignores the annotations
Fixed
- Every tag points to a final 200 URL
- No noindex on alternates
- Removed languages are dropped from all pages
- Right version shown in each market
How to confirm it's fixed
- Recrawl shows no non-200 hreflang URLs
- No hreflang URL carries noindex in the meta tag or header
- Each hreflang URL equals its final address with no redirect
- Alternates are not blocked in robots.txt
- URL Inspection in Search Console shows alternates as indexable
- Sample pages in each language show the correct tag set in the source
Google may take days or weeks to recrawl. Request indexing for key pages in Search Console to speed it up.
How to prevent it happening again
- Generate hreflang from code or a plugin, not by hand
- Crawl the site monthly and after every migration, slug change or redesign
- When you remove or rename a translated page, update hreflang in the same release
- Keep a list of live URLs per language and compare it with the tags
- Add a hreflang check to your release checklist
- Never set noindex on a page that other pages list as an alternate
Day 0
Example: you change URLs from /fr to /fr/ during a redesign.
Day 1
Old hreflang tags now point to redirects.
Week 2
Google recrawls and ignores the invalid tags.
Week 4
Wrong language versions appear in results.
Week 5
You update tags to final URLs and recrawl.
How FunnelGuard handles this
FunnelGuard does not check hreflang yet. Checking the status and indexability of hreflang targets is a possible future check, not something it does today.
What FunnelGuard does cover nearby is the conversion path. A robot visitor runs your real customer journeys on a schedule, from the EU or the US, such as lead forms, checkouts and booking buttons. It checks each step, the tracking hits sent to platforms like GA4 and Google Ads, and whether test leads reach your inbox and CRM. If a localised page in a journey fails to load, that step fails and you get one alert with a screenshot and a likely cause.
To watch for broken hreflang today, schedule a monthly crawl in Screaming Frog or Sitebulb and review the non-200 and noindex hreflang filters. You can also spot-check key pages with curl and read the Pages report in Google Search Console. A free read-only website audit from FunnelGuard is available, and the Free plan covers 1 site and 2 journeys with daily checks and no card.
Questions people ask
Why is Google ignoring my hreflang tags?
The most common reason is that the listed URLs are not valid targets. If an hreflang URL redirects, returns 404 or has noindex, Google treats the tag as invalid. Other causes are missing return links and wrong language codes.
Can hreflang point to a URL that redirects?
It is not recommended. hreflang URLs should be the final address that returns a 200 status. Point the tag to the redirect destination, and keep the redirect only for old links.
Should hreflang URLs have noindex?
No. A page with noindex is excluded from search, so it cannot be shown as a language alternate. Either remove noindex or remove that page from every hreflang set.
How do I find hreflang errors on my site?
Crawl the site with a tool such as Screaming Frog or Sitebulb and open its hreflang report. Look at non-200 URLs and noindex confirmation links. You can also test single URLs with curl or view the source.
What should I do when a translated page is deleted?
Remove that language from the hreflang tags on all pages in the group, or restore the page. Leaving the tag in place points search engines to a 404 and invalidates the annotation.
Do hreflang URLs need to match the canonical URL?
Yes, each hreflang URL should be the canonical, final version of that page. Mismatches such as http versus https or a missing trailing slash can cause redirects and ignored tags.
How long does it take for hreflang fixes to work?
It depends on how often Google recrawls your pages, often days to a few weeks. Fix the tags, recrawl yourself to confirm, and request indexing for important pages in Search Console.
Does FunnelGuard check hreflang?
Not yet. It is a possible future check. FunnelGuard currently runs your customer journeys and checks tracking and lead delivery, so use a crawler to monitor hreflang.
Related issues
- SEO-265hreflang missing on multi-language sitesFix guide
- SEO-266hreflang without return links (not reciprocal)Fix guide
- SEO-267hreflang uses wrong language or region codes (en-UK)Fix guide
- SEO-269hreflang points to non-canonical URLsFix guide
- SEO-270x-default missingFix guide
- SEO-271hreflang in both sitemap and head with conflictsFix guide