Canonical URLs: Pick One URL Per Page and Stick to It — Deduplication in Practice
A canonical URL is the single preferred address for a page. Every indexable page should declare a self-referencing canonical, and the sitemap, server response, and canonical tag must all point to the same URL so duplicate variants consolidate rather than compete.

Most pages are reachable through several URLs: with or without a trailing slash, with tracking parameters, over HTTP and HTTPS. A canonical tag tells a search engine which variant is the real one so the rest do not split the page's signals.
The three-way agreement
For a normal indexable page, the requested URL, the canonical tag, and the sitemap entry should all be the same URL. If they disagree — for example the sitemap lists a URL that redirects, or the canonical points elsewhere — the engine sees a contradiction.
| Signal | Should be |
|---|---|
| Requested URL | canonical URL |
| <link rel=canonical> | same canonical |
| sitemap <loc> | same canonical |
| HTTP status | 200, no redirect |
Do not canonicalize distinct pages to the homepage
A common mistake is pointing many distinct pages' canonicals at the homepage so they 'consolidate'. This collapses real, indexable pages out of the index. Each distinct page keeps its own self-referencing canonical.
Frequently asked questions
Should the canonical URL have a trailing slash?
Pick one convention and be consistent. Most sites strip the trailing slash except for the root. What matters is that each page resolves to exactly one canonical form.
What if my sitemap lists a URL that redirects?
That is a non-canonical sitemap entry. The sitemap should list only the final, 200-status, canonical URL — never a redirect target.
About the author
RankoraXPress Team — Search Visibility Editorial
The RankoraXPress editorial team publishes original daily briefs on search visibility — covering SEO, AEO, GEO, and developer SEO. Every brief is written in-house and never scraped or copied from third-party sources.
Expertise: SEO, AEO, GEO, and developer SEO