A canonical tag is an HTML tag that designates the "original" page a search engine should treat as the representative among multiple URLs with identical or similar content. It is a core element of technical SEO: it prevents ranking signals from being split across duplicate content and consolidates scattered link signals into one representative URL.
How duplicate URLs dilute ranking
The same content gets accessed through multiple addresses more often than you might expect.
- Tracking parameters like
?ref=andutm_ - List pages with sort and filter options
- http vs. https, with or without www
- Trailing slash (
/) present or absent
In these cases, the search engine sees each one as duplicate content and decides on its own which page to index. When ranking is split, the link juice built up through backlinks also gets scattered. A canonical tag declares "this URL is the representative" and consolidates the signals in one place.
How to write it
Specify the absolute URL of the representative page inside <head>.
<link rel="canonical" href="https://example.com/page" />
A self-referencing canonical is also recommended. Even when parameters are appended, explicitly stating the original address keeps you safe.
Checklist for implementation
| Item | Recommended |
|---|---|
| Representative URL | A page that actually exists and is indexable |
| Format | Absolute URL instead of relative path |
| Consistency | All similar pages point to the same representative |
| Protocol | Standardize on https |
A canonical is a hint, not a forced command. Setting it incorrectly can cause unintended pages to be dropped during indexing.
Notes
- Check the actual representative URL selected in the page indexing report of Google Search Console. If it differs from the value you specified, investigate the signal conflict.
- Canonical tags, 301 redirects, and robots.txt serve different purposes. Do not confuse consolidation, migration, and blocking.
- 238lab cleans up duplicate signals from an SEO perspective, from site structure audits to representative URL design.
