Skip to content

The canonical address points at a page that cannot be it

canonical-target-invalidserious
On this page

Why it matters

  • A canonical link tells Google which address holds the original of a page that has copies. Google treats it as a strong hint, not an order, and weighs it against the other signals.
  • When the address it names cannot be indexed itself, the hint points nowhere. Google's own checklist says: "Double-check that your rel=canonical target exists (it's not an error or "soft 404")" and "Verify the rel=canonical target doesn't contain a noindex robots meta tag".
  • A redirect is "a strong signal that the target of the redirect should become canonical", so a canonical that redirects names an address Google will likely replace with another. And Google says: "Don't use the robots.txt file for canonicalization purposes."
  • Templates cause most of these: an old domain or path left in the theme, http:// for an https:// site, a canonical to a staging host.

How to fix

Point the canonical at the final address of the page you want in results: one that answers 200, is not noindex, and names itself as canonical.

html
<link rel="canonical" href="https://www.example.com/oud/" />
  • If the target redirects, use the address it redirects to.
  • If the page is its own original, its canonical is its own address.

How we detect

  1. We read the page's canonical address: the first rel="canonical" link in <head>, else the Link header's. A canonical that is the page itself is not asked for.
  2. We ask for it once, with GET, as a crawler does, without following a redirect, where its site's robots.txt lets ArablyzerBot.
  3. We report a redirect, a 4xx or 5xx answer, a noindex in its robots meta or X-Robots-Tag, a robots.txt that keeps Googlebot from it, and a canonical of its own that names another address. Answers by which a site refuses a bot (401, 403, 429, 503), and a target that did not answer, are not judged.