SearchAuditPro
LoginStart Free Trial

Hreflang Audit: Find and Fix Targeting Errors

Hreflang Audit: Find and Fix Targeting Errors

By Joe Whyte · 11/24/2026

Hreflang is one of the few SEO annotations where a single typo can quietly undo hours of work. The tags look simple, but they have to agree with each other across every version of a page, and most sites with more than a couple of locales have at least some that do not. We see the same handful of mistakes again and again, and almost all of them can be found with a structured audit.

This post covers what hreflang does, the errors worth checking for, and an order of work that keeps the audit manageable.

What hreflang does and does not do

Hreflang tells Google that several URLs are alternate versions of the same page for different languages or regions. When a searcher in Canada matches your US English page, Google can swap in the Canadian English version in the results, if you have one.

It is worth being clear about the limits:

  • It does not boost rankings. It helps the right version appear for the right user. It does not make a weak page rank better.
  • It is a hint, not a directive. Google can ignore it when the signals conflict, which is why consistency matters so much.
  • It is not needed for every multilingual site. If your language versions are clearly different and well separated, you may see the right pages without it. It earns its place when you have near-identical content aimed at different regions, such as US, UK and Australian English.

Step 1: Build an inventory of locale versions

Before checking any tags, write down what should exist. List every language and region you target, the URL structure for each (subfolders, subdomains or country domains), and which page types have equivalents in each locale.

The inventory gives you something to compare the crawl against. Without it, you can confirm that tags are valid but not that they are complete. A product page that exists in four locales but only references two of them is a coverage problem that no validator will flag on its own.

Step 2: Crawl and extract every annotation

Hreflang can live in three places: the HTML head, HTTP headers (useful for PDFs) and the XML sitemap. Check which method your site uses. The most common source of confusion is a site using two methods at once, often because a plugin added head tags while a developer separately generated sitemap entries. If the two disagree, you have conflicting signals. Pick one method and remove the other.

Run a full crawl and pull out, for each URL, its own language and region code and the list of alternates it declares. A crawler that captures this per page gives you the raw material for every check below. In SearchAuditPro, the page-by-page audit lets us review international annotations alongside canonicals, status codes and indexability on the same URL, which saves a lot of switching between exports.

Step 3: Check return links first

The most common hreflang error is a missing return link. If page A declares page B as an alternate, page B must declare page A back. When it does not, the pair can be ignored.

Look for these patterns:

  • The English page lists French and German, but the French and German pages list nothing.
  • A new locale was added to the main template but older pages were never updated.
  • A locale was removed and its URLs are still referenced from the remaining pages.

To audit this, treat the annotations as a set of pairs. For every URL A pointing at URL B, confirm that B points at A. Any one-way pair goes on the fix list. Return-link errors tend to be systemic, so fixing a template often clears hundreds of pages at once.

Step 4: Confirm every target is a clean, indexable URL

Every URL named in an hreflang annotation should be the version you actually want indexed. Check each target for the following:

  • Status 200. Targets that redirect or return 404 or 410 break the cluster.
  • No noindex. Pointing hreflang at a page you have told Google not to index sends contradictory instructions.
  • Not blocked by robots.txt. Google cannot read what it cannot crawl.
  • Absolute URLs. Use full URLs including protocol. Relative paths are an easy way to introduce mistakes.
  • Exact URL match. Trailing slashes, uppercase characters and http versus https differences all create mismatches with the canonical URL.

Redirecting targets are especially common after a migration or a change in URL structure, when the tags still reference the old paths.

Step 5: Validate the language and region codes

Hreflang values use an ISO 639-1 language code, optionally followed by an ISO 3166-1 region code, separated by a hyphen. A few mistakes appear constantly:

  • en-uk instead of en-gb. The United Kingdom's region code is GB.
  • Underscores such as en_us instead of en-us.
  • A region with no language, such as us on its own. The language is required, the region is optional.
  • Three-letter or invented codes such as eng or english.
  • Targeting a language by country when you mean the language. If the Spanish page is the same for every Spanish speaker, plain es is cleaner than listing a dozen regions pointing at one URL.

Codes are case-insensitive in practice, but consistent formatting makes audits easier. A simple filter on distinct values in your crawl export will surface typos quickly, since a clean site has only a short list of valid codes.

Step 6: Look for canonical conflicts

Canonical tags and hreflang have to tell the same story. Each localized page should have a canonical pointing to itself, and the hreflang set should include that same URL.

The damaging case is a French page whose canonical points to the English page while the hreflang tag claims the French page is the French alternate. Google will usually trust the canonical, treat the French page as a duplicate and drop it from the cluster. Check that:

  1. Every localized URL is self-canonical.
  2. The canonical URL appears in that page's own hreflang set.
  3. No locale canonicalizes to a different locale, unless you deliberately do not want it indexed (in which case it should not be in the hreflang set either).

Step 7: Check self-references and x-default

Each page should include a self-referencing hreflang entry alongside its alternates. Missing self-references are not always fatal, but they make the set incomplete and are trivial to fix in a template.

The x-default value is optional but useful. It names the fallback page for users whose language or region does not match any version. This is often a language selector page or your main global English page. Check that:

  • x-default points to a valid, indexable URL.
  • It is used consistently across all pages in the set, not on some and not others.
  • It does not point at a page that auto-redirects based on IP address, since Googlebot mostly crawls from the US and may never see the other versions.

Step 8: Handle pages without equivalents

Not every page exists in every locale. A blog post written only in English should not list alternates that do not exist, and it should not pretend the French homepage is its French version. Include hreflang only for true equivalents.

When you find pages with partial sets, decide whether the missing translation is worth producing or whether the annotation should simply list the versions that do exist. Either is fine. Pointing to unrelated pages to fill the gap is not.

Prioritizing what you find

International audits can produce thousands of flagged URLs, so sort by cause rather than by count. Our usual order is:

  1. Targets that are broken, redirected or noindexed. These actively damage the cluster.
  2. Canonical conflicts. They cause whole locales to drop out.
  3. Missing return links. Usually a template fix with a large payoff.
  4. Invalid codes. Quick to correct once identified.
  5. Missing x-default and self-references. Worth tidying, lower urgency.

Verify after the fix

After changes go live, recrawl the affected sections and rerun the same checks. Then watch Search Console for the locales you changed: look at whether the expected country and language pages appear in impressions for the right markets. Rank tracking set to specific countries is a useful second check, because it shows which locale URL is actually ranking in each market. If the US page still ranks in the UK long after the fixes, go back and check the cluster for a remaining conflict.

Make the audit recurring. Hreflang breaks when pages are added, removed or redirected, so a quarterly recrawl, or one triggered after any site structure change, catches drift before it spreads. A saved crawl configuration that extracts the same fields each time makes comparisons between audits straightforward, and that is the kind of repeatable workflow we built SearchAuditPro to support.

The short version

Hreflang problems are rarely subtle. They come from one-way references, bad targets, wrong codes and canonicals that disagree. Inventory what should exist, extract what does exist, check the pairs, and fix in order of damage. Done once and then monitored, it is a manageable job, and it keeps the right page in front of the right searcher.