Canonical chains and loops

What happens when a canonical tag points at a page whose own canonical points elsewhere, how the scan follows one step, and how to point at the final URL.

What AuditX checks

The scan reads the first canonical link tag on your page, as the scan saw it, and follows it one step. If your page has no canonical tag, or the address cannot be read, you get an info note. If the canonical points at the page itself, it passes. Otherwise the scan loads the target page, following redirects, and reads the canonical tag in its raw HTML. If the target cannot be loaded, you get an info note. It warns when the target has no canonical tag of its own. It fails when the target points straight back at your page, which is a loop. It passes when the target points at itself. It warns when the target points to a third address, a chain. Info notes are not counted in the score. It follows one step only, and compares addresses without looking at one trailing slash. It does not look at canonical set in an HTTP Link header, and it does not check whether the target is blocked or noindexed. If the check itself fails unexpectedly, it is shown as not measured and is left out of the score.

Why it matters

A canonical tag tells Google which address is the main one. Google treats it as a strong signal, not an order. If your canonical points at a page that points somewhere else, the signals disagree.

A loop, where A names B and B names A, gives no answer at all. When the signals are unclear, Google may choose a different address than the one you wanted.

How to fix it

  1. Open the page named as the canonical target and look at its canonical tag. Decide which address should be the final one.
  2. Point every duplicate page straight at that final address. Do not point at a page that points on.
  3. Give the final page a canonical tag that points at itself, so the chain ends clearly.
  4. If a plugin or theme writes the canonical tag, check its settings. Two plugins writing different canonicals is a common cause.
<link rel="canonical" href="https://example.com/final-page/">

Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.

Scan my site

Sources

Related checks

Last reviewed 2026-11-13.