Duplicate content is one of the most common and most damaging technical SEO problems — and it is far more prevalent than most site owners realise. You do not need to intentionally copy pages to have duplicate content issues. Simple things like your site being accessible via both HTTP and HTTPS, pages loading with or without a trailing slash, or product pages appearing in multiple category paths can all create duplicate content that confuses search engines and splits your ranking potential.
The canonical tag is the most direct solution to this problem. It tells search engines definitively: among all these similar or identical URLs, this is the one that counts.
What Is a Canonical Tag?
A canonical tag is an HTML element placed in the <head> section of a page that specifies the preferred version of that URL. It looks like this:
<link rel="canonical" href="https://yourdomain.com/preferred-page/" />
When Google encounters this tag, it understands that this URL should be treated as the authoritative version for indexing and ranking purposes. Any link equity pointing to duplicate versions gets consolidated onto the canonical URL. The non-canonical versions may still be crawled but will not be indexed or ranked independently.
When Do You Need Canonical Tags?
HTTP vs HTTPS duplicates. If your site is accessible via both http:// and https:// versions, search engines may treat these as separate pages. The canonical tag on each page should always point to the HTTPS version. Pair this with a 301 redirect from HTTP to HTTPS. Check your SSL setup with our SSL checker to confirm your redirects are working correctly.
WWW vs non-WWW duplicates. Similarly, www.yourdomain.com and yourdomain.com are technically different URLs. Set a canonical pointing to your preferred version and implement a redirect for the other.
Trailing slash variants. /page/ and /page are different URLs. Choose one and canonicalise consistently.
URL parameters. E-commerce sites frequently create parameter-based URLs for filtered, sorted, or paginated views — /products?sort=price&color=red. These should canonical back to the base URL /products/ to consolidate equity.
Syndicated content. If you publish your articles on other platforms (Medium, LinkedIn Articles, industry publications), those copies should include a canonical tag pointing back to the original on your domain. This protects your rankings and ensures Google credits your site as the original source.
Print versions of pages. If your site generates separate print-friendly URLs, canonical them back to the main page.
Self-Referencing Canonicals
It is best practice to add a canonical tag to every page on your site — even pages that have no known duplicates — pointing to themselves. This is called a self-referencing canonical. It explicitly signals to Google which URL you consider canonical, preventing confusion if duplicate versions are accidentally created or if someone scrapes your content.
For example, your homepage should include:
<link rel="canonical" href="https://yourdomain.com/" />
Canonical Tags vs 301 Redirects
Canonical tags and 301 redirects solve the same problem — consolidating duplicate URLs — but they work differently. A 301 redirect actively sends users and crawlers from one URL to another, making the original URL effectively inaccessible. A canonical tag allows both URLs to remain accessible while telling search engines which one to treat as authoritative.
Use 301 redirects when you want to permanently retire a URL and send all traffic to the preferred version. Use canonical tags when you need both URL versions to remain technically accessible — for example, when URL parameters serve legitimate functional purposes for your platform but should not be indexed separately.
Common Canonical Tag Mistakes
Canonicalising to a page that returns a 404 or redirect. The canonical URL must resolve to a live, accessible page. Run a site scan to check that all your canonical URLs are returning 200 status codes.
Conflicting canonicals and noindex tags. Do not apply both a canonical and a noindex to the same page. If you want the page excluded from the index, use noindex. If you want its equity consolidated elsewhere, use canonical.
Cross-domain canonicals pointing to the wrong domain. When canonicalising syndicated content, make sure the tag on the external copy points to your domain — not the other way around.
Missing canonicals on paginated pages. Paginated series — /blog/page/2/, /blog/page/3/ — should each have a self-referencing canonical rather than all pointing to page one. Pointing all paginated pages to the first page can prevent the later pages from being indexed.
How to Audit Your Canonical Tags
Pair a canonical tag audit with an internal link review — internal links pointing to non-canonical URLs waste link equity that should be flowing to the preferred version. Update any internal links that reference old or non-canonical URLs to point directly to the canonical version.
Summary
Canonical tags are essential for any site that generates duplicate or near-duplicate URLs — which is virtually every site of meaningful size. Implement self-referencing canonicals on every page, consolidate parameter-based duplicates, ensure HTTP and WWW variants are handled correctly, and audit regularly to catch any canonicalisation issues before they affect your rankings.
Missed the previous article? Read: What Is robots.txt and How Do You Use It for SEO?