This English page points hreflang to a French target, but the French target's canonical points back to this page, creating a conflict.
Page A (this page):
https://mock.okok.now/issues/hreflang-canonical-conflict/issues/hreflang-canonical-conflict-targetPage B (target):
https://mock.okok.now/issues/hreflang-canonical-conflict ❌ (points to A!)https://mock.okok.now/issues/hreflang-canonical-conflict-targetCheck: hreflang (automatic)
Status: Fail
Severity: Warning
Issue Type: hreflang_canonical_conflict
Ensure each language variant has a self-referencing canonical:
// English Page (A):
alternates: {
canonical: "https://example.com/en/page", // ✅ Points to itself
languages: {
en: "https://example.com/en/page",
fr: "https://example.com/fr/page",
}
}
// French Page (B):
alternates: {
canonical: "https://example.com/fr/page", // ✅ Points to itself
languages: {
en: "https://example.com/en/page",
fr: "https://example.com/fr/page",
}
}Each hreflang target must have a canonical tag pointing to itself, not to another page in the cluster.