Skip to the content
Start free

hreflang points to pages that do not work

hreflang lines point to versions that are not found, redirect, name another canonical or could not be read.

High priority Languages and countries

Why it matters #

Each hreflang address should be the final, working, canonical address of that version. If it answers 404 or a server error, it cannot be shown. If it redirects, or its canonical names another address, Google may drop the line or index a different page.

Google says that with hreflang you should pick a canonical in the same language, or the best substitute. A version that refused our checker may still work for visitors, but it is worth opening it to make sure.

How to fix it #

Use the final address of each version: the one that answers 200 and names itself as canonical. Remove lines for versions that no longer exist, from every version.

Check each version with the Hreflang Checker and the Canonical Tag Checker.

What it looks like, and fixed #

The problem
<link rel="alternate" hreflang="fr" href="http://www.example.com/fr">
<link rel="alternate" hreflang="de" href="https://www.example.com/de/old-page/">

The French address redirects to https with a slash, and the German page answers 404.

Fixed
<link rel="alternate" hreflang="fr" href="https://www.example.com/fr/">
<link rel="alternate" hreflang="de" href="https://www.example.com/de/neue-seite/">

Each address is final: it answers 200 and names itself as canonical.

Fix it with your AI assistant #

Paste this into ChatGPT, Claude, Gemini or your coding agent. Fill in the words in [square brackets] first. It checks before it changes anything, changes only this, and tells you how to prove it worked.

Your instruction for the AI
Help me repair the hreflang tags on [your website address], built with [your platform, e.g. WordPress with Polylang]. A checker says hreflang lines on [the page address] point to versions that are not found, redirect, name a different canonical or could not be read. First, list every hreflang address on the page (read the source or ask me to paste it). For each, check the status code (without following redirects), any redirect target and its canonical, or ask me for those results. Explain plainly which lines are broken and why. Then give me the fix for each: replace it with the final address that answers 200 and names itself as canonical, or remove the line from every version if that version no longer exists. Rules: back up first, change only hreflang lines, keep the same codes, and update every version so they stay in step. Give exact code or settings and where they go. Finally, tell me to re-check with the URSY.com Hreflang Checker at ursy.com/hreflang-checker/.

We find the problems, and help you fix them

  1. Check Run a free tool or the full audit.
  2. Fix it with your AI Download your AI Fix Pack and drop it into ChatGPT, Claude or Gemini. A free account is enough.
  3. Re-check Come back, check again, and watch each fix turn green.

How the AI Fix Pack works, with a sample to download

Fix it on your platform #

WordPress

Check that each translation is published and linked in your multilingual plugin, and that the site address in Settings, General uses https. Remove links to deleted translations.

A hand-made site

Update the shared list of versions to the final addresses and print it on every version.

Check it is fixed #

Run the Hreflang Checker again: every version should answer 200 and name itself as canonical. The Canonical Tag Checker should agree for each one.

Official source #

Google Search Central: Tell Google about localized versions of your page

Questions #

Is a redirect really a problem if it ends on the right page?

It may be dropped or treated as a different page. Listing the final address removes the doubt and saves a step for every crawler.

What if a version does not exist in one language?

Leave that language out of the set on every version. Do not point it at a different page.

More problems in Languages and countries

See every problem in the library

For AI assistants and developers: Instructions for AI · Developers · How to cite URSY.com