What AuditX checks
The scan reads the pages it crawled on your site. It starts at the page you scanned and follows links to other pages at the same address, up to 20 pages, or up to 8 if the site needs a browser to show its content. It counts pages that answered with a normal status (200 to 399) and did not redirect to another address. For each page it reads the href of the first link element with rel="canonical" in the HTML. A missing tag, or a tag with an empty href, counts as no canonical. The check passes when every counted page has one. It gives an info note, which does not lower the score, when some pages have none but no more than half of them. It warns when more than half have none. It never fails. The message says how many of the counted pages have no canonical link and names up to three of them. Without a canonical link Google picks which address of a page to show itself, which usually goes well, so a missing tag is a gap to close rather than an error. If the crawl failed, the check is shown as not measured and is left out of the score. The scan only checks that a tag is present. It does not check that the address is correct, that it points to the page itself, that the target page opens, or that two tags do not disagree. A canonical sent in an HTTP Link header is not read. Pages the crawl did not reach are not counted.
Why it matters
One page can often be opened at more than one address, for example with and without www, with a tracking parameter, or with a slash at the end. The canonical link tells search engines which address you prefer for it.
Google calls rel="canonical" a strong signal for the address it should treat as canonical. It also advises that the canonical page carries a canonical link to itself. Without any tag, the search engine has to pick an address on its own, which may not be the one you want in the results.
How to fix it
- Add one link element with rel="canonical" to the head of every page. Use the full address of the page, including https://, as you want it to appear in search results.
- On most sites the tag comes from the CMS or an SEO plugin. Look for a canonical setting and switch it on, instead of editing pages by hand.
- Let each page point to its own preferred address. Do not use a fragment (the part after #) as the canonical address, and do not point many different pages to one page unless they really are copies of it.
- View the source of a few pages to check that there is exactly one canonical tag and that the address is the one you want.
<link rel="canonical" href="https://www.example.com/services/boiler-repair">
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 siteSources
- Google: How to specify a canonical URL with rel="canonical" and other methods
- RFC 6596: The Canonical Link Relation