Skip to content
FunnelGuard

Fix guide by FunnelsGuard

hreflang pointing to redirecting, 404 or noindex pages: fix it

SEO-268Medium impactOther toolBy FunnelGuardPublished Updated
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.

How a broken hreflang loses a local visitor
  1. Search in GermanUser in Germany searches your brand or product
  2. hreflang readGoogle reads the de URL from the English page
  3. URL redirects, 404s or is noindexThe tag is ignored
  4. English page shownWrong language in results
  5. Lead or saleVisitor leaves without converting

The tag points to a URL that fails, so the local page is never matched to the searcher.

Share of hreflang URLs that workExample numbers
Share of hreflang URLs that work (example)Before migration: 100 %; After migration (redirects): 40 %; After fix: 100 %0387710040100Before migrationAfter migration (redi…After fix%

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.

Check hreflang URLs
  1. 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'.

  2. 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.

  3. Check status codes in the terminal

    Run curl -sIL -o /dev/null -w '%{http_code} %{url_effective}\n' URL for each alternate. Anything other than a single 200 with the same URL is a problem.

  4. Look for noindex

    Search the alternate page source for noindex in a robots meta tag, and check response headers for X-Robots-Tag: noindex.

  5. 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.

Check status and final URL of an hreflang targetbash
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/
What each problem looks like and what to do
ProblemWhat you seeFix
Redirect301 or 302 to another URLPut the final URL in hreflang
404 or 410Page not foundRestore the page or remove the tag
noindexMeta robots or X-Robots-Tag noindexRemove noindex or remove the tag
Blocked by robots.txtGooglebot cannot fetch itAllow 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.

Fix broken hreflang URLs
  1. List every failing URL

    Export the non-200 and noindex hreflang URLs from your crawl, with the pages that reference them.

  2. Redirecting URLs: use the destination

    Replace the old address with the final URL, including the correct protocol, host and trailing slash.

  3. 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.

  4. 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.

  5. Keep sets consistent

    After changes, make sure each page in a group still lists the same set of alternates.

  6. Recrawl

    Run the crawl again and confirm the non-200 filters are empty.

Where to change hreflang by platform
  1. 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.

  2. 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.

  3. Clear caches

    Purge page and CDN caches so the corrected tags appear.

Correct hreflang set (final, indexable URLs)html
<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/" />
hreflang before and after

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

Confirmation checklist
  • 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

Prevention habits
  • 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
How the problem builds up
  1. Day 0

    Example: you change URLs from /fr to /fr/ during a redesign.

  2. Day 1

    Old hreflang tags now point to redirects.

  3. Week 2

    Google recrawls and ignores the invalid tags.

  4. Week 4

    Wrong language versions appear in results.

  5. 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.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.