Blog

/

SEO

Redirect or canonical tag: which one do you need?

·

7

min

·

Diagram with two tracks. On top, a solid 301 arc moves from /old to /new and leaves /old as an empty circle. Below, /shoes?sort=price and /shoes both stay live, joined by a dashed purple line labelled rel=canonical · hint.

You have two URLs showing the same page, and you want Google to settle on one. Two fixes come up every time: a redirect and a canonical tag.

They sound interchangeable, and plenty of guides treat them that way. They aren’t. One sends every visitor and crawler to a different URL. The other leaves everyone where they are and quietly tells search engines which version you prefer.

Pick the wrong one and you either break a page people still need, or keep a duplicate you meant to retire.

What a redirect does

A redirect answers a request for one URL with a different URL. The browser follows it, the visitor lands on the new page, and search engines follow it too.

A permanent redirect (301 or 308) says “this page has moved for good”. Google lists redirects as a strong signal that the target should become the canonical URL, and recommends them when you want to get rid of duplicate pages. See Google’s guide to consolidating duplicate URLs.

The important part: after a redirect, the old URL is no longer a page. Nobody can browse it, bookmark it or share it. If you’re unsure which code to use, our guide to 301, 302, 307 and 308 covers the differences.

What a canonical tag does

A canonical tag is one line in the <head> of a page, for example <link rel="canonical" href="https://example.com/shoes">.

It tells search engines: “if you group this page with others as duplicates, this is the URL I’d like you to show”. Visitors never see it. The page keeps loading normally at its own address.

Google calls it a strong signal too, but it’s still a preference. Its documentation on canonicalization says that indicating a canonical is “a hint, not a rule”, and Google may choose a different URL if other signals disagree. Google also recommends a self-referencing canonical on the preferred page itself.

The one question that decides it

Ask yourself: does the duplicate URL still need to work for people?

  • No, nobody should land there any more: use a redirect. Old pages, retired domains, http:// versions and the www variant you don’t use.

  • Yes, it still has a job: use a canonical tag. Sorted or filtered product lists, campaign links with parameters, printer-friendly versions.

If you’re still unsure, picture someone clicking an old link. With a redirect, they end up on a different URL. With a canonical, they see exactly the page they clicked.

Real examples

Here’s how common situations work out:

  • Moving a page: example.com/services becomes example.com/what-we-do. Redirect. The old URL has no reason to exist.

  • www and non-www: example.com and www.example.com both load the site. Redirect one to the other, as explained in www or non-www.

  • http and https: Redirect. Every visitor should end up on the secure version.

  • Sort and filter options: example.com/shoes?sort=price lists the same products as example.com/shoes. Canonical. Shoppers need the sorted view to keep working.

  • Campaign links: example.com/pricing?utm_source=newsletter. Canonical. The page should load as it is, so your analytics records the campaign.

  • Print versions: example.com/recipe/print. Canonical. The print view is useful, it just shouldn’t compete in search.

  • Rebrand to a new domain: oldbrand.com/about to newbrand.com/about. Redirect, page by page. A canonical alone would leave the old site running and visitors reading the old brand.

Mistakes that send mixed signals

Most canonical problems come from signals that contradict each other:

  • A canonical that points at a redirect: the canonical URL should be the final page, not a URL that redirects again. Check where it really ends up with the redirect tester.

  • A redirect and a canonical that disagree: if /a redirects to /b, but the canonical on /b points back to /a, you’re giving Google two opposite answers.

  • Different URLs in different places: Google advises against naming one URL in your sitemap and another in the rel="canonical" tag for the same page.

  • robots.txt instead of either: blocking a duplicate doesn’t consolidate anything. Google says it may still index blocked URLs, just without their content.

  • Relative canonical URLs: write the full address, https://example.com/shoes, not /shoes. Google supports relative paths but recommends absolute ones.

Can you use both?

Yes, and Google says the methods stack: combining them makes it more likely that your preferred URL appears in search. A healthy setup is a redirect from every retired URL to the live page, plus a self-referencing canonical on that live page.

What doesn’t help is a canonical on a page that also redirects. Crawlers follow the redirect, so the tag on the old URL is never read. If you’re cleaning up duplicate content after a URL change, our post on whether changing a URL affects SEO is a good next read.

How Redirect Supply fits in

Canonical tags live in your site’s HTML, so they stay in your site builder or CMS. Redirects don’t have to. Redirect Supply handles the redirect side at the edge, without hosting your website:

  • Every redirect type: 301, 302, 307 and 308, with HTTPS and www/non-www handling always on.

  • Path rules and wildcards: exact paths and patterns like /blog/* on paid plans, so each retired URL points at its live page. See creating a redirect.

  • A free plan: one domain with a catch-all rule, enough to send an old domain to your main site. Details on the pricing page.

If the old URL should disappear, redirect it. If it should keep working, give it a canonical tag and let it be.

Ready to keep every link alive?

Ready to keep every link alive?

Ready to keep every link alive?