How a canonical tag works
A canonical tag is a line in the head of a page naming the address that should be treated as the master copy of that content. It can also be sent as an HTTP header, which is how files that are not web pages, such as PDFs, declare theirs. When several addresses hold the same content and every one of them names the same master, search engines can group them and credit the address you chose.
The detail that catches people out is that it is a hint, not an instruction. Google weighs it against everything else it can see — internal links, sitemap entries, redirects, which version visitors actually reach — and may select a different address if those signals disagree. A page naming itself, which is the normal state for most pages, simply removes the ambiguity before it can start.
Why canonical tags matter
Websites generate the same content at multiple addresses without anyone deciding to. Tracking parameters on a campaign link, filters and sort orders on a category page, secure and insecure versions, with and without www, with and without a trailing slash, print views, a product reachable through two menu paths. Every one of those is a separate URL as far as a crawler is concerned.
Left alone, the links and signals the content has earned are divided between the copies, crawlers spend their time fetching the same thing repeatedly, and the version that appears in results may be the one with a campaign parameter still stuck on the end. A canonical pulls all of that back to one address, which is the cheapest fix available for duplicate content.
Common mistakes with canonical tags
The most destructive is a site-wide canonical pointing at the home page, usually a plugin setting or a template applied without thought. Every page then declares itself a copy of the home page and the site quietly leaves the results. Close behind is the staging address left in the canonical after launch, which points a live site at somewhere no visitor can reach.
Then come the contradictions. A canonical aimed at a URL that redirects somewhere else. A canonical aimed at a page marked noindex. A page carrying both a canonical to another address and a noindex of its own. Each asks for two things at once, and the engine decides which to believe. Canonicalising every paginated page back to the first page belongs on the same list: the items deeper in the sequence end up with nothing pointing at them.
How to act on it
Make an absolute, self-referencing canonical the default on every indexable page, and change it only where there is a reason. Use it where content genuinely repeats but both addresses must stay reachable, such as filtered listings and product variants. Where the old address does not need to stay reachable, a redirect is the stronger and clearer instruction — a canonical is not a substitute for one.
Then verify instead of assuming. The page indexing report in Search Console names the address Google actually selected, and a mismatch is information rather than something to argue with. A full crawl exports every declared canonical at once, which makes bad patterns obvious in minutes. Untangling canonicals across a large site is ordinary technical SEO work, and it usually shows up in indexation before it shows up anywhere else.
