hreflang canonical conflict

critical hreflang-canonical-conflict hreflang and language versions

The canonical points at another language while hreflang says the versions are equals. The two signals contradict each other, and the engine resolves the contradiction however it likes.

What indexgap reports

The finding reads:

critical  hreflang-canonical-conflict  the canonical points at a different language version (…) — that cancels hreflang: the engine will collapse the versions instead of showing the right one

How to fix it

Point the canonical back at the page itself: right now it leads to another language and cancels hreflang.

How it behaves at scale

Collapsed when it fires template-wide. If it appears on 90% or more of the pages — or of one language version — of a site with at least 20 pages, it is a property of the template and is reported once, with the count, instead of once per page.

Finding it

pipx install indexgap
cd your-project
indexgap init
indexgap check

Then indexgap brief turns every finding on this page into a work order in indexgap-briefs/, with the thresholds the result has to satisfy and the command to check it.

Related checks in hreflang and language versions

All checks · hreflang and language versions