Knowledge hub
Canonical tags are hints, not removal
A canonical tag tells search engines which of several similar URLs you prefer. It is a consolidation tool. Many people try to use it to get rid of pages, and are then puzzled when those pages stay visible.
Key takeaways
- A canonical is a strong hint about which duplicate to prefer, not a command.
- It consolidates duplicates; it does not remove pages.
- Conflicting signals such as redirects, noindex and sitemaps weaken it.
- Compare declared and Google-selected canonicals in URL Inspection.
What canonicalisation is for
When the same or very similar content is available at several URLs, search engines pick one to treat as the main version. That choice is called the canonical. Google's guide to consolidating duplicate URLs explains that you can influence the choice with several signals, and that none of them is required. Google decides which pages are duplicates based on the similarity of the content.
Typical duplicate sources are tracking parameters, sort orders, http and https versions, www and non-www, print views, and syndicated copies.
Signals, not commands
Google's documentation ranks the methods for expressing a preference. Redirects are described as a strong signal that the target should become canonical. The rel="canonical" link element or HTTP header is also a strong signal. Inclusion in a sitemap is a weak signal. Combining methods strengthens the message, and conflicting methods weaken it.
Because these are signals, the search engine can disagree. If your canonical points to a page that is quite different, or is blocked, redirected or noindexed, the engine may ignore the hint. You can see which URL Google chose in the URL Inspection tool, which reports both the declared and the Google-selected canonical.
Why canonical is not a removal tool
A canonical points from one URL to another. It does not say that the first should not exist. The first URL can remain known to the search engine, can still be crawled, and may still occasionally appear in results, particularly for queries that fit it better. At best, it is folded into the canonical, which is what the tag is for.
Google's guidance is direct on this point, advising against using the robots.txt file, the URL removal tool or noindex for canonicalisation. The reverse is also true. Using canonicals as a substitute for those tools, to remove a page from results, misuses the signal.
If you need a page gone from results, use one of the methods in noindex vs robots.txt vs 410: error status, noindex, login, or a redirect to a true replacement.
Best practice for canonicals
Google's recommendations include: - Add a self-referential canonical on the canonical page itself. - Use absolute URLs. - Link internally to the canonical URL. - Use either the HTML element or the HTTP header, not both with different values. - Do not point canonicals at URL fragments. - Do not name different canonicals for the same page through different methods.
Where canonical mistakes cause deindexing problems
- Canonical to the wrong host. After a migration, pages on the new site that still name the old host as canonical encourage the engine to keep the old URLs. This is a common finding in post-migration cleanup.
- Canonical on staging pointing to production, or the reverse. If staging pages declare themselves canonical, staging can compete with production. Staging pages that point to production help, but access control is still the real fix. See staging and dev cleanup.
- Canonical to a noindexed page. The signals contradict each other, and the outcome is unpredictable.
- Canonical chains and loops. A points to B, B points to C. Keep it direct.
- Parameter pages with self-canonicals. If each filter URL names itself as canonical, you have told the engine that they are all primary. See parameter and faceted URL cleanup.
When canonical is the right choice
Use canonical when you want duplicates to coexist for users but consolidate in search, for example tracking-parameter variants, sorted views, and syndicated content with the original as the preferred version. If the duplicate should never exist at all, a permanent redirect is stronger. If the page should be reachable but unlisted, noindex is the correct signal.
Diagnosing a canonical problem
- Inspect the URL in URL Inspection and compare the user-declared and Google-selected canonicals.
- In the Page indexing report, look for reasons such as alternate page with proper canonical tag, or duplicate, Google chose different canonical than user.
- Compare the pages. If they are very different, Google may reject your hint. If they are the same, check for conflicting signals such as redirects, sitemap entries, or internal links pointing to the other version.
- Fix the contradictions, then request a recrawl.
Canonical and sitemaps
Sitemaps should list canonical URLs. Listing duplicates sends mixed messages. See sitemap cleanup for deindexing for how to align them.
What we do
In an engagement, we audit canonicals alongside status codes, headers, and sitemaps, because the interplay is where most confusion lives. We do not promise that a search engine will adopt your preferred URL. We aim to make every signal agree, which gives the best chance.
For a list of URLs with unclear canonicals, request a quote.
Related reading
- Parameter and faceted URL cleanupStop filter, sort and tracking URLs from bloating the index.
- Post-migration cleanupRemove old domains, URL structures and leftovers after a site move.
- noindex vs robots.txt vs 410Which removal method to use, and which one backfires.
- Sitemap cleanup for deindexingWhy sitemaps matter during removals and how to keep them honest.