Skip to content
FunnelGuard

Fix guide by FunnelsGuard

hreflang points to wrong page: how to find and fix it

CNV-344Low impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

hreflang is an HTML attribute (also available in HTTP headers and XML sitemaps) that lists the alternate versions of a page for other languages or regions. For example, en-gb for English in the UK and de-de for German in Germany.

The issue appears when a tag points somewhere it should not. Common causes: a tag pointing to the home page instead of the matching page, a URL that redirects or returns 404, a URL that differs from the page's canonical, a missing return tag, or a wrong language or region code.

How a wrong hreflang loses the visit
  1. Searcher in GermanySearches in German
  2. hreflang tagde-de points to the English page
  3. Wrong pageVisitor sees English, wrong currency
  4. Lead or saleVisitor leaves

The break happens at the tag, so every step after it is lost.

Why it costs you leads or sales

Visitors who land on a page in the wrong language, or with prices in the wrong currency, often leave. Google may also ignore broken hreflang entirely and pick a version itself. The impact is usually modest and spread across many pages, which is why we rate it low, but it can hit a whole market.

How to check if your site has it

Check your hreflang tags
  1. View the tags on a page

    Open a page, view the source and search for hreflang. Note each URL listed.

  2. Open each listed URL

    Each should load directly (status 200), without a redirect, and be the same content in the stated language.

  3. Check return tags

    On every alternate page, confirm it lists the original page back. hreflang must be reciprocal.

  4. Compare with the canonical

    Each hreflang URL should match that page's own rel=canonical URL exactly, including https, www and trailing slash.

  5. Run a crawl

    Use an SEO crawler or Google Search Console's international targeting data where available to list errors across the whole site.

Common hreflang mistakes and what to look for
MistakeWhat you seeFix
Points to home pageAll tags use the same root URLLink to the matching page
Redirecting URLTag URL returns 301/302Use the final URL
No return tagAlternate page does not list the originalAdd reciprocal tags
Canonical conflictTag URL differs from canonicalAlign both to one URL
Wrong codeen-uk instead of en-gbUse valid ISO codes

How to fix it

Correct hreflang set (same block on every version)html
<link rel="alternate" hreflang="en-gb" href="https://example.com/uk/pricing/" />
<link rel="alternate" hreflang="de-de" href="https://example.com/de/preise/" />
<link rel="alternate" hreflang="x-default" href="https://example.com/pricing/" />

Each page lists itself and all its alternates. The steps depend on how your site is built.

Fix by platform
  1. Check your multilingual plugin

    Plugins such as WPML, Polylang or TranslatePress output hreflang. Make sure each page is linked to its translation in the plugin's translation settings.

  2. Remove duplicate output

    If an SEO plugin and a translation plugin both print hreflang, turn one off.

hreflang before and after

Broken

  • de-de points to the English home page
  • Tag URL redirects
  • No return tag on the German page

Fixed

  • de-de points to the German matching page
  • Tag URLs match the canonicals
  • Every version lists all the others

How to confirm it's fixed

Confirmation checklist
  • Every hreflang URL returns status 200 with no redirect
  • Each URL matches its page's canonical
  • Each alternate links back to the original
  • Language and region codes are valid
  • x-default is set where it makes sense
  • A re-crawl shows no hreflang errors

Google may take days or weeks to recrawl and reflect the change in results.

How to prevent it happening again

Prevention habits
  • Generate hreflang from one source, not by hand on each page
  • Re-crawl after any URL, slug or translation change
  • Update tags when you delete or rename a page
  • Add a hreflang check to your release checklist
  • Review international reports in Search Console regularly

How FunnelGuard handles this

This is outside what FunnelGuard checks. FunnelGuard runs your customer journeys, such as forms and checkouts, and checks tracking and lead delivery. hreflang is an SEO markup problem that needs another kind of tool: an SEO crawler or site audit tool that reads hreflang tags across your pages, plus Google Search Console.

If wrong-language visitors are reaching your forms or checkouts, FunnelGuard can still run those journeys on a schedule once the page is reachable. The Free plan covers 1 site and 2 journeys with no card.

Questions people ask

Why is Google showing the wrong language version of my page?

Often the hreflang tags are missing, point to the wrong URLs or lack return tags, so Google picks a version itself. Check that each version lists all alternates, including itself, and that URLs match the canonicals.

What is a hreflang return tag?

A return tag is the reciprocal link. If page A lists page B as an alternate, page B must list page A. Without it, Google may ignore the pair.

Should hreflang URLs match the canonical URL?

Yes. Each hreflang URL should be the canonical URL of that page. A mismatch sends conflicting signals and Google may ignore the tag.

Is uk or gb the correct hreflang code for the United Kingdom?

Use gb, as in en-gb. The code uk is not a valid region code in ISO 3166-1.

How do I check hreflang errors across my whole site?

Use an SEO crawler or site audit tool that reports hreflang issues, and compare with Google Search Console. Spot-check a few pages by viewing the source.

Do I need x-default?

It is optional but useful. It names the page to show when no language or region matches, such as a language selector or your main version.

How long until hreflang fixes take effect?

Google must recrawl your pages, which can take days or weeks depending on the site. Keep the tags correct and stable meanwhile.

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.