Technical SEO guide
The canonical tag: telling Google which URL is the real one
Most pages are reachable at more than one URL without anyone intending it: with and without a trailing slash, with a tracking parameter, over http and https, on www and the bare domain. A canonical tag is the page telling search engines which one of those is the real one — the version that should show up in results and collect the ranking signals, while the variants defer to it.
What it looks like
<link rel="canonical" href="https://example.com/pricing">One tag, in the <head>, with an absolute URL. That’s the whole mechanism — the complexity is entirely in getting the value right and consistent.
What the checker looks for
- Missing entirely. Not fatal — Google picks a canonical on its own when none is declared — but its choice can surprise you, especially across parameterized or paginated URLs.
- More than one canonical tag.Invalid. Google’s documentation says it may ignore all of them when there’s more than one, which is worse than having none.
- A relative href. Works today, but resolving a relative canonical depends on the base URL a crawler assumes — an absolute URL removes the ambiguity entirely.
- A protocol or domain mismatch — canonical pointing from https to http, or to a different hostname than the page itself was requested on, without that being a deliberate cross-domain syndication case.
- A target that doesn’t answer. A canonical pointing at a URL that 404s, or that itself redirects somewhere else, passes no value anywhere — the checker fetches the declared target to confirm it actually resolves.
When pointing elsewhere is correct
A canonical that points to a differentpage on the same site is not automatically wrong — it’s the standard fix for duplicate or near-duplicate content: a print-friendly version canonicalizing to the normal article, a filtered product-listing view canonicalizing to the unfiltered category page, a paginated page 2 canonicalizing to page 1 (or using rel=next/prev, though Google stopped using that signal in 2019, making a plain canonical to page 1 the simpler modern choice). The checker flags this as informational, not an error, because only you know whether this page was meant to rank on its own.
Frequently asked
Does a canonical tag redirect visitors?
No. It’s a hint to search engines only — visitors stay on whatever URL they loaded. A 301 redirect is the tool for actually sending visitors elsewhere.
Is a self-referencing canonical necessary on every page?
Not strictly required, but it’s a cheap, unambiguous signal and the standard recommendation — it removes any doubt about which URL variant (with or without query strings, trailing slash) is the intended one.
Can a canonical point to a page on a different domain?
Yes — this is exactly how content syndication is meant to work: the syndicated copy canonicalizes to the original, so the original keeps the ranking credit. It’s only a problem when it happens by accident, from a leftover template or a copy-pasted tag.
Does the canonical tag affect which page shows in search results?
It’s a strong signal, not an absolute directive — Google says it considers canonical tags along with other signals (redirects, internal links, sitemap inclusion) and can still choose a different URL as canonical if those signals disagree strongly enough.
