1.3 CanonicalisationMediumVerified

HTTP-header canonical conflicting with HTML

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.

What it is

rel=canonical in the header disagrees with the HTML tag.

Why it matters

Conflicting signals reduce reliability of consolidation.

How to fix it

Reconcile to one canonical across header and HTML.

How to find it on your site

  1. Run curl -I and look for a Link rel=canonical header.
  2. Compare it with the rel=canonical in the HTML.
  3. Where they disagree, decide the single intended canonical.
  4. Set it in one place and remove the other.

Cross-reference to ranking and citation factors

Conflicting header and HTML canonicals can lead Google to choose unpredictably, weakening consolidation.

Impact

Medium. Direct.

Evidence

Avoid conflicting canonical signals across delivery methods. Google Search Central, Consolidate duplicate URLs (canonicalization)