
The same page can often be reached through several addresses: with and without www, with tracking parameters, with or without a trailing slash. To search engines, those can look like duplicate pages competing with each other. A canonical tag tells them which address is the real one. When canonical tags are wrong, the page you care about can quietly drop out of search results.
What a canonical tag looks like
It is one line in the page's head: <link rel="canonical" href="https://example.com/page/">. It says: if you find this content at other addresses, treat this one as the original. Most pages should have a canonical tag pointing to themselves, called a self-referencing canonical.
How to check a canonical tag
- Open the free canonical tag checker.
- Paste the full URL of the page.
- Read the result: the canonical URL, whether it matches the page, and whether the canonical page itself loads correctly and is indexable.
The five most common mistakes
- Pointing to the wrong page. Templates sometimes copy the homepage canonical onto every page, telling Google that all pages are duplicates of the homepage.
- Pointing to a redirect or error page. The canonical URL must return 200 OK, not a 301 or 404.
- Mixing http and https, or www and non-www. The canonical should use exactly the address you want indexed.
- Canonical to a noindex page. These are contradictory signals, and search engines may ignore both.
- Missing canonical on filtered or paginated pages in online stores, creating hundreds of near-duplicates.
How to fix duplicate content
- Choose one preferred version of your domain and redirect the others to it.
- Use self-referencing canonicals on every normal page. SEO plugins such as Yoast add them automatically.
- Point parameter and filter URLs to the main category page.
- Link internally to the canonical version only. The internal link analyzer shows which URLs your pages link to.
- Make sure your sitemap lists only canonical URLs. Check it with the XML sitemap checker.
Canonical tags are hints, not commands
Search engines usually follow canonical tags, but they can choose a different page if your signals disagree: for example, if the sitemap, internal links and redirects all point somewhere else. Consistency is what makes a canonical stick.
For a full on-page review, run the website SEO audit, which checks canonicals alongside titles, headings and images.