Guide · URLs
Canonical versus redirect
A canonical link and a redirect both deal with duplicate or moving URLs, but they do different jobs. A canonical is a signal about the preferred URL when several URLs serve the same or similar content. A redirect sends a visitor or crawler to a different URL.
Choosing the wrong one creates the problem it was meant to solve: a canonical that points to a redirect, a redirect chain that hides the final page, or a site that tells three different tools three different stories.
The short comparison
| Canonical link | 301 redirect | |
|---|---|---|
| What it does | Names the preferred URL while the page remains accessible. | Sends the request to a different URL. |
| Best for | Duplicate or near-duplicate URLs that should both remain reachable. | A permanent move where the old URL should no longer serve the page. |
| Visitor experience | Stays on the URL they opened. | Lands on the new URL. |
| Crawler behavior | A hint; the search engine can choose a different canonical. | A strong signal that the old URL has moved. |
| Common mistake | Pointing every page to the home page. | Chaining several redirects or redirecting to a 404. |
Duplicate URLs that need a decision
Small sites collect URL variants quickly:
http://example.com/pageandhttps://example.com/pagehttps://example.com/pageandhttps://www.example.com/pagehttps://example.com/andhttps://example.com/index.htmlhttps://example.com/guidesandhttps://example.com/guides/https://example.com/page?utm_source=newsletterand the clean URL- A product page reachable through two category paths
The first four are usually best handled with a redirect at the server or CDN: one canonical host, one protocol, one index form. The last two are often better handled with a canonical link because both URLs may need to remain useful.
When a canonical is the better tool
- Two URLs serve substantially the same content and both need to remain accessible.
- A tracking or filter parameter creates a duplicate of a page that should still work.
- A product or article is reachable through more than one navigation path.
- A CMS produces a print, AMP or syndicated version that should not compete with the main page.
The canonical should point to a substantially equivalent page with the same intent. Pointing every page to the home page does not turn unrelated pages into one page; it discards useful signals and confuses the reader.
Use the final preferred URL: the same protocol, host, path and trailing-slash convention you use in navigation and the sitemap. A self-referencing canonical on an ordinary page can make the preference explicit.
When a redirect is the better tool
- A page has moved permanently and the old URL should no longer serve it.
- Two sites or sections have been merged.
- A URL structure changed and the old paths are no longer maintained.
- A non-canonical host or protocol should never serve the page.
Use a 301 for a permanent move and a 302 only for a temporary one. Send the old URL directly to the final destination. A chain of three redirects is slower and easier to break than one hop.
Common mistakes
Canonical pointing to a redirect
If the canonical URL itself redirects, the signal is ambiguous. Point the canonical at the final 200 URL. The same rule applies to the sitemap and internal links.
Redirecting to a page that returns 404
A redirect is only useful if the destination exists. Check the final status after deployment.
Mixing www, http and trailing slashes
One page may be reachable through four forms. Pick one form, redirect the others, and use it consistently in the canonical, sitemap, navigation and internal links.
Using noindex and canonical together carelessly
If a page is noindex, a canonical on that page may not have the effect you expect. Decide whether the page should exist in search results at all. If it should not, noindex is the clearer signal. If it should, remove the noindex and use the canonical.
Redirecting everything to the home page
A removed page with no equivalent should return a useful 404 or 410, not a redirect to the home page. A home-page redirect tells the crawler that every old URL is now the home page, which is rarely true.
How to check the signals agree
- Pick the preferred URL. Write it down, including protocol, host, path and trailing slash.
- Check the page's canonical. Use the meta tag checker. There should be one canonical and it should be absolute.
- Check the live response. Fetch both the old and the new URL. Confirm the status and the final URL.
- Check the sitemap. It should list the preferred URL, not the redirect or the duplicate.
- Check internal links. Navigation, breadcrumbs and body links should use the preferred form.
- Check robots.txt. Do not block the URL you want crawled. A disallowed URL cannot pass a canonical or noindex signal reliably.
What the tools cannot tell you
- Which URL a search engine will ultimately treat as canonical after crawling and consolidation.
- Whether a redirect is cached or served differently by a CDN.
- Whether an old URL is still indexed. Use Search Console for that.
- Whether a canonical is appropriate for two pages with different content. That is an editorial decision.
Sources
- Google Search Central, How to consolidate duplicate URLs, accessed 2026-11-23.
- Google Search Central, Redirects and Google Search, accessed 2026-11-23.
- Google Search Central, Block indexing with noindex, accessed 2026-11-23.