Fixing a Broken Hreflang Setup: A Step-by-Step Audit

By Suraj · October 5, 2026

Hreflang problems rarely announce themselves. The site loads, the translations exist, and yet the wrong versions rank, some pages never get indexed, and a market that should be growing stays flat.

I recently worked on a multi-language online store in exactly that situation. This post explains what was going wrong, the order I fixed things in, and a step-by-step audit you can use on your own site. It goes deeper on one part of my international SEO guide for ecommerce, SaaS and marketplaces, and it builds on my hreflang explainer.

The situation

The store served customers across several languages, and on paper everything was in place. In reality, there were layers of problems stacked on top of each other:

  • The domain had changed two or three times. Each change created a new set of URLs, and the old ones weren’t properly redirected, so search engines were left with a trail of outdated addresses.
  • Hreflang had been set up twice, and neither attempt worked properly. Each rebuild was done on top of an unstable foundation, so the same problems carried over.
  • Indexing was weak, partly because of thin content. Many pages in the non-primary languages had little unique content, so search engines had little reason to index them.

None of these problems was dramatic on its own. Together, they meant the site was sending search engines a confusing and contradictory picture of itself.

Why I fixed hreflang first

When several things are broken, the order matters. I started with hreflang for three reasons:

  1. It defines the relationships between versions. Until search engines understand which page is the German version of which English page, every other fix works against a blurry background.
  2. It’s testable. Hreflang errors are specific and checkable, so you can tell clearly when they’re fixed.
  3. Everything else builds on it. Localizing content and internal linking only pay off if search engines can connect the versions correctly.

Only after the hreflang foundation was clean did I move to the content and linking work described below.

The step-by-step audit

Step 1: Map your current URLs

Before touching hreflang, build a clear list of every URL that should exist: each page, in each language, on the current domain and structure. If your domain has changed before, also list the old domains and URL patterns that might still be in search results or linked from elsewhere.

This map becomes your source of truth. Without it, you’re fixing blind.

Step 2: Check what each page actually says

Crawl the site, or sample a few pages from each template (homepage, category, product, blog), and record what hreflang each page currently declares. Look at:

  • Which method is used (HTML tags, sitemap, or both)
  • Whether each page lists all its alternates
  • Whether each page lists itself
  • Whether the codes are valid

If hreflang has been rebuilt more than once, check whether old and new versions are both still present. Leftovers from earlier attempts are a common source of contradictions.

Step 3: Check the return links

For every pair of pages, confirm they point at each other. A missing return link means the relationship may be ignored. This is the most common failure, and it’s usually caused by new pages or markets being added in one place but not mirrored in others.

Step 4: Check that every target is a good URL

Each URL in a hreflang set should load properly, be indexable, and not redirect. Check for:

  • URLs that return errors
  • URLs that redirect to another address, often a leftover from a domain change
  • URLs blocked from indexing
  • URLs pointing to the old domain

After domain changes, this step often turns up the most problems, because hreflang pointing at redirected or retired URLs quietly invalidates the whole set.

Step 5: Compare hreflang with canonical tags

Each language version should normally have a canonical tag pointing to itself. If canonicals point to a different language, or to an old URL, they conflict with hreflang, and search engines may ignore one or the other.

Step 6: Choose one implementation method

If hreflang appears in more than one place (for example, both in the page source and in the sitemap) and they don’t match, decide which will be your single source of truth and remove the rest. For large stores, the sitemap method is often easier to maintain, but the best choice depends on your platform.

Step 7: Rebuild it cleanly, from the map

With your URL map and the audit findings, implement hreflang once, completely, and consistently:

  • Every version lists all others and itself
  • Valid language and country codes
  • Absolute URLs pointing to live, indexable, final addresses
  • One x-default per set
  • No conflicts with canonicals

Step 8: Test, then monitor

Use a crawler or hreflang testing tool across the whole site, not just a few pages, and spot-check key templates by hand. Then monitor indexing and which version appears in each country over the following weeks. Fixing hreflang changes signals, but search engines need time to re-process them, so don’t judge it in days.

After hreflang: fix the thin content

Clean hreflang tells search engines how your pages relate. It doesn’t make weak pages worth indexing. On this site, a lot of the pages in non-primary languages were thin, with little unique content and sometimes little real localization, which contributed to the indexing problems.

My approach was to be selective, not to rewrite everything:

  • Start with the primary category pages. These are the pages with the most commercial value and the most internal links, so improving them has the biggest effect.
  • Write them properly in the local language. That means real localization, not a copy of the original: local search terms, natural wording and relevant details for that market. (See my localization guide.)
  • Add genuinely useful content. Descriptions, guidance and supporting information that make each page worth a visit in its own right.

Every page that earns its place gives search engines a reason to index it, and gives visitors a reason to stay.

Then connect the pages with internal links

Once the key category pages were stronger, I linked related categories to each other within each language. Internal links do two jobs here:

  • They help visitors move naturally between related products and categories.
  • They show search engines which pages are connected and which matter most, and they help newly improved pages get discovered and crawled.

Keep the linking within each language version, so that German pages link mainly to other German pages. Use clear, descriptive anchor text in that language. My internal linking guide covers the basics.

The lesson about domain changes

Looking back, the biggest root cause was the repeated domain changes without proper redirects. If you ever move or change a domain, treat it as a project of its own:

  • Plan the move before you make it, and avoid changing domains repeatedly if you can.
  • Create a full redirect map from every old URL to its exact new equivalent, not just to the homepage.
  • Use permanent (301) redirects, and keep them in place for a long time.
  • Update everything that points to the old URLs, including internal links, sitemaps, canonical tags and hreflang.
  • Rebuild hreflang only after the new URLs are stable, so you aren’t annotating addresses that will change again.
  • Monitor indexing and traffic closely after the move.

Hreflang built on top of unstable URLs can’t work, which is why it failed twice on this site.

Common mistakes to avoid when fixing hreflang

  • Rebuilding hreflang before the URLs are stable. You’ll only have to redo it.
  • Fixing only the homepage. Every template needs checking.
  • Leaving old hreflang in place alongside the new setup.
  • Ignoring redirects. Hreflang pointing to redirected URLs doesn’t work.
  • Expecting instant results. Search engines take time to re-process.
  • Treating hreflang as a content fix. It connects pages. It doesn’t make thin pages worth indexing.
  • Localizing everything at once. Start with your most valuable pages.

A quick audit checklist

  • Do I have a complete map of current (and past) URLs?
  • Does each page list all alternates and itself?
  • Are all links reciprocal?
  • Do all hreflang URLs load, index and avoid redirects?
  • Do canonicals agree with hreflang?
  • Is there one implementation method and one x-default per set?
  • Are old domains and URLs properly redirected?
  • Are key category pages properly localized and useful?
  • Are related pages linked within each language?
  • Am I monitoring indexing over time?

Final thoughts

Fixing hreflang in a messy international setup is rarely about a single mistake. It’s usually layers: unstable domains, missing redirects, rebuilt-but-still-broken tags, and thin pages on top. Work from the foundation up: stabilize the URLs, fix the hreflang, then improve the content and internal links that sit on it.

If your international setup isn’t performing and you’re not sure where it’s breaking, my International SEO service includes a full hreflang and indexing audit, or you can get in touch.