Canonical Tag Test
What is it?
A canonical link tag declares the preferred URL for a page so search engines and AI crawlers can consolidate ranking signals onto a single authoritative version rather than splitting authority across query parameter variants, pagination URLs, trailing-slash duplicates, or syndicated mirrors. The Google canonicalization guide documents the full set of factors search engines weigh. This test checks whether your page declares a <link rel="canonical"> tag and where it points.
Why canonical tags still matter
Search engines treat each URL as a separate page even when the content is identical. Without a canonical tag, signals can split across query parameter variants (?utm_source=..., ?ref=...), pagination URLs, filter combinations, and accidental duplicates created by trailing slashes or case differences. The canonical tag tells search engines which URL is the authoritative one for a given piece of content, so all the ranking signals consolidate there.
Canonical tags also help in cases where you cannot use 301 redirects: pages with intentional duplicate content (such as printer-friendly versions, tracked URLs from email campaigns, or syndicated articles republished on other sites) all benefit from canonicalization that points search engines at the version you want indexed. They are a softer, more flexible signal than redirects but no less important for consolidating authority.
The newer reason: AI crawlers
AI answer engines and crawlers use canonical tags to identify the source of truth when citing a page. When the same content exists at multiple URLs (for example, on a blog and a syndicated mirror), the canonical tag helps the AI engine attribute a citation to the right URL rather than to a duplicate. Without it, citations may point at a syndication partner or parameter-laden URL instead of the page you want users to land on.
Common canonical tag issues
- No canonical tag at all, leaving search engines to guess which variant is authoritative.
- Canonical points to the wrong page, often a templating bug pointing every page's canonical at the homepage.
- Canonical uses a relative URL; it must be absolute.
- Multiple canonical tags on the same page, only one of which can be honored.
- Canonical conflicts with a noindex tag, sending mixed signals.
This test verifies that your page declares a canonical tag and that the value is well-formed. The fix guide below covers adding canonical tags in raw HTML, in the major content management systems, and in framework metadata APIs.
Pass rate:
-
Top 100 websites: 93%This value indicates the percent of top 100 most visited websites in the US that pass this test (in the past 12 months).
-
All websites: 92%This value indicates the percent of all websites analyzed in SEO Site Checkup (500,000+) in the past 12 months.
| 2021 | 95% |
|---|---|
| 2022 | 96% |
| 2023 | 93% |
| 2024 | 93% |
100
75
50
25
0
How do I fix it?
The canonical link tag declares the preferred URL for a page when the same or similar content is reachable at multiple URLs. Fixing this issue means adding a <link rel="canonical"> tag to every page that points at the URL you want indexed, which consolidates ranking signals onto the canonical version and helps AI crawlers identify the source of truth when citing the page. See the Google canonicalization guide for the full specification.
Example
<head>
<link rel="canonical" href="https://example.com/shoes/marathon">
</head>
Where to make the change
- Raw HTML: add a single
<link rel="canonical">inside the<head>. The href must be an absolute URL. - WordPress: a dedicated SEO plugin emits canonical tags automatically. Override per-post when the auto-derived URL is wrong.
- Shopify: the default Liquid layout emits canonical tags from
{{ canonical_url }}. Confirm your custom theme has not removed them. - Wix or Squarespace: both platforms emit canonical tags automatically; per-page override fields are available in SEO settings.
- Headless or framework sites: emit the canonical tag from the framework's metadata API alongside title and description.
Common causes and how to resolve them
- No canonical tag at all: add one pointing at the page's preferred URL.
- Canonical points to the wrong page: a templating bug can point every page's canonical at the homepage. Verify the value matches the current URL on a sample of pages.
- Canonical uses a relative URL: always use the full
https://URL. Relative paths can be misinterpreted. - Multiple canonical tags on the same page: only one should exist. A theme and an SEO plugin sometimes both emit one. Pick a single source.
- Canonical conflicts with a noindex tag: if a page is noindexed, the canonical pointing at it has no effect. Resolve which signal you actually want.
Best practices
- Self-canonicalize when in doubt: if a page has no duplicates, it should canonicalize to itself.
- Pair with consistent internal linking: link to the canonical URL from internal navigation, not to query-parameter variants.
- Use canonicals for pagination and filters: filtered or sorted product list URLs typically canonicalize to the unfiltered base view.
- Verify with URL Inspection: Google Search Console reports the canonical Google has chosen, which may differ from the one you declared.