Hreflang Audit: Fix Language and Regional SEO Signals

A hreflang audit checks whether search engines can connect every language and regional version of a page to the correct alternatives. Build a complete URL cluster, verify that every page references itself and the other versions, test return links, validate language and region codes, and check that canonical tags do not contradict the cluster. The goal is not to add more tags. It is to make every localized relationship accurate, reciprocal and maintainable.
This process is useful for multilingual websites, international ecommerce stores, regional service pages and any site that publishes similar content for different markets. It also helps after a migration, CMS change, domain consolidation or launch into a new country. Work with a sample first, then scale the same checks across the full site.
Define the hreflang audit scope
Start by deciding what a localized page set should contain. A product page may have English versions for the United States and United Kingdom, a French version for France, and a general English fallback. A service page may be translated into English, Arabic and Urdu without regional variants. These are different structures, so do not force one template across the whole site.
Create a source list from the CMS, database export or sitemap. Include the URL, language, optional region, canonical URL, indexability, HTTP status and expected alternate versions. Add a page type column so you can compare products with products and articles with articles. If the CMS has a translation group ID, keep it. That ID is often the cleanest way to find incomplete clusters.
Google supports hreflang annotations in HTML, HTTP headers and XML sitemaps. Its documentation says these methods are equivalent for Search, so choose the one your team can maintain reliably. Using all three does not create an extra ranking benefit and can multiply inconsistencies. Review the current implementation before recommending a replacement.
Check every hreflang audit cluster for reciprocity
Each page in a cluster should list itself and all intended alternatives. The other pages must return the same relationship. If page A points to page B but page B does not point back to page A, Google may ignore that pair. Reciprocity prevents an unrelated site from declaring itself an alternate of your content.
Test the live HTML or response header rather than relying only on a CMS preview. JavaScript that inserts tags after load can make diagnosis harder, and cached templates may serve different clusters from what the editor shows. Record the exact source where the annotation appears.
- Request every URL directly and record its final HTTP status.
- Extract all alternate links and normalise their URLs.
- Confirm the current page has a self-referencing entry.
- Check that every destination returns a matching link.
- Flag redirects, errors, blocked URLs and non-indexable destinations.
A simple graph view makes gaps obvious. Treat each localized URL as a node and each hreflang declaration as a directed connection. A valid relationship has connections in both directions. Large clusters need automation, but a visual sample is valuable during QA because it reveals missing and unexpected pages quickly.
Validate language and region codes
The first part of an hreflang value represents a language using ISO 639-1. An optional second part represents a region using ISO 3166-1 Alpha 2. A country code by itself is not valid. For example, en-GB means English for the United Kingdom, while GB alone does not identify a language.
Do not invent market labels that look convenient in analytics. Google’s documentation specifically notes that reserved values such as UK or EU do not work as region codes. Use en-GB for English in the United Kingdom. Use a language-only version such as en when one page should cover English speakers who do not match a more specific region.
| Value | Meaning | Audit decision |
|---|---|---|
en | English, any region | Valid language catchall |
en-US | English for the United States | Valid language and region |
GB | Country only | Invalid because language is missing |
en-UK | Nonstandard region value | Replace with en-GB |
x-default | Fallback for unmatched users | Valid optional fallback |
Audit x-default and fallback behaviour
The x-default value identifies a fallback when no listed language or region matches the user. It works well for a country selector, a global homepage or a version that can serve a broad audience. It should point to a real page that helps unmatched visitors continue, not an arbitrary market page chosen only because it receives the most traffic.
Google says x-default is optional and can be used on only part of a site. Audit it as part of the cluster because the fallback must still be listed consistently. Check what happens when the visitor arrives. A forced IP redirect can stop both users and crawlers from accessing the selected URL. Prefer visible language or country links that let people change versions themselves.
Resolve canonical and indexability conflicts
Hreflang does not replace canonical tags. Canonical tells search engines which URL is preferred among duplicate or very similar URLs. Hreflang groups localized alternatives. A frequent failure is a regional page whose hreflang points to itself while its canonical points to another country’s page. Those signals disagree.
Review every cluster with the same checks used in a canonical URL audit. A localized page should normally canonicalise to its own preferred URL. If two URLs are true duplicates within the same locale, consolidate that duplication first, then keep only the canonical version in the hreflang cluster.
Also check robots directives, authentication, server errors and redirects. An alternate URL that cannot be indexed is a weak destination. A 301 redirect inside the cluster adds uncertainty and maintenance work. Update annotations to the final live URL rather than depending on redirect chains.
Compare the three implementation methods
HTML links are easy to inspect on ordinary pages and work well when templates control localization. HTTP headers are useful for non-HTML files such as PDFs. XML sitemaps can centralise large international sets, but every URL entry must repeat the complete set of alternatives, including itself.
| Method | Best fit | Main audit risk |
|---|---|---|
| HTML | Template-managed web pages | Old tags remain in one locale template |
| HTTP header | PDFs and other non-HTML resources | Headers are missed during normal page review |
| XML sitemap | Large, centrally managed inventories | Clusters become incomplete or inconsistent |
If the sitemap method is used, confirm the xhtml namespace is declared and every localized URL has its own <url> entry. Google’s localized versions documentation provides the exact format. Use the site’s hreflang generator for smaller clusters, but still test the live output after publishing.
Run a scalable hreflang audit
For a large site, crawl all indexable pages and extract alternate links, canonical tags, status codes and robots directives. Join that crawl with the expected localization export. The crawl shows what is live. The export shows what the business intended. Differences between the two become the issue list.
Group issues by root cause rather than producing thousands of individual rows. A missing German template tag may affect every product. A mapping error may connect all Canadian pages to United States equivalents. A retired region may remain in the sitemap after its URLs redirect. Fixing the rule is safer than editing pages one at a time.
Prioritise issues in this order:
- Alternate URLs that return errors, redirect or cannot be indexed.
- Clusters with missing return links or absent self references.
- Canonical conflicts that point localized pages elsewhere.
- Invalid language and region codes.
- Incomplete x-default coverage where a fallback is genuinely needed.
Use a technical SEO audit to check the surrounding crawl and index signals. Hreflang cannot repair poor internal linking, blocked pages or weak content. It only explains the relationship between valid localized versions.
Test changes before a full release
Choose one complete cluster for each page type and market structure. Publish the corrected annotations in staging, then inspect the rendered output or headers. Confirm that URLs are absolute, every page lists the same intended set, and all responses are stable. Test mobile and desktop templates if they are generated separately.
After release, recrawl the affected pages and compare the result with the expected matrix. Keep the test in your deployment checklist so new locales cannot launch with one-way links. Monitor Search Console performance by country and page, but do not treat normal ranking differences as proof that hreflang is broken. The audit proves implementation quality; search performance still depends on relevance, content and competition.
A good handoff includes the cluster model, issue count by template, example URLs, recommended rule change and acceptance test. That gives developers a reproducible fix and gives marketers a way to confirm it without guessing.
Frequently asked questions
What is the most important check in an hreflang audit?
Confirm that every localized page lists itself and the intended alternate pages, and that each alternate returns the relationship. Missing return links can cause Google to ignore the annotations.
Should hreflang use relative or absolute URLs?
Use fully qualified URLs, including the protocol and hostname. This removes ambiguity and follows Google’s implementation guidance for localized page annotations.
Can hreflang replace canonical tags?
No. Canonical and hreflang signals solve different problems. Each localized page should normally use a canonical that reflects the preferred URL for that language and regional version.
Do all multilingual pages need x-default?
No. It is optional, but it is useful when you have a language selector or a sensible fallback page for visitors whose language and region do not match a listed version. If you'd rather have this handled for you, our SEO services cover the complete process, from audit to ongoing optimisation.
Need an international SEO review?
I can audit your hreflang clusters, canonicals and localized crawl paths.
Discuss your website →

