A canonical can be set in the HTTP header as well as the HTML, and if the two disagree Google has to reconcile them. I keep the canonical in one place so there is nothing to reconcile. rel=canonical in the header disagrees with the HTML tag.
Why does http-header canonical conflicting with html matter for AI search?
Conflicting signals reduce reliability of consolidation.
How do you fix it?
Reconcile to one canonical across header and HTML.
How do you find it on your site?
- Run curl -I and look for a Link rel=canonical header.
- Compare it with the rel=canonical in the HTML.
- Where they disagree, decide the single intended canonical.
- Set it in one place and remove the other.
Which ranking and citation factors does it touch?
Conflicting header and HTML canonicals can lead Google to choose unpredictably, weakening consolidation.
What is the impact?
Medium. Direct.
What is the evidence?
Avoid conflicting canonical signals across delivery methods. Google Search Central, Consolidate duplicate URLs (canonicalization)
Sources
Frequently asked questions about http-header canonical conflicting with html
What does "HTTP-header canonical conflicting with HTML" mean?
rel=canonical in the header disagrees with the HTML tag.
How do you fix hTTP-header canonical conflicting with HTML?
Reconcile to one canonical across header and HTML.