Skip to content
July 11, 2026·4 min read

What rel=canonical Is and When to Use It

A clear guide to the canonical tag: what it does, when to use it, and the mistakes that can quietly drop your pages from Google.

You have two or more pages that look almost identical — a product listed in two categories, a filter that changes the URL, the www version and the non-www one. You're right to ask: which one does Google treat as the "real" one? That's exactly what the rel=canonical tag is for.

It's a simple signal that tells the search engine: "out of all these variants, this is the main page — show this one." It isn't magic and it isn't an absolute command; it's a recommendation Google honors in most cases. In this article I'll explain in plain terms what it does, when you actually need it, and which mistakes to avoid so you don't do more harm than good.

What rel=canonical actually means

Canonical is a line of code placed in the page's <head> section. It looks roughly like this:

  • <link rel="canonical" href="https://site.com/main-page" />

With it you tell search engines which address (URL) represents the official version of that content. When several pages have identical or very similar content, Google has to pick a single one to index and show in results. If you don't give it a clear signal, it picks for you — and not always the way you'd want.

The canonical tag also consolidates the "strength" gained from links: if several variants receive links, the signals add up toward the page you marked as primary instead of being scattered across duplicates.

When you actually need canonical

Not every site needs canonical everywhere. But there are clear situations where it matters:

  • The same product appears at different addresses (for example in two categories or through filters that add parameters to the URL).
  • You have www and non-www versions, or http and https, or with and without a trailing slash.
  • Listing pages with sorting or filtering that generate dozens of addresses with the same base content.
  • You syndicate or republish an article from another source and want to point to the original.

The practical rule: if two people could reach the same content through different addresses, it's time to state clearly which is the main one. Otherwise, each page should have a canonical pointing to itself — that's perfectly normal and recommended.

Common mistakes that do more harm

A badly placed canonical can drop pages from Google without you noticing. The most frequent problems:

  • Every page points to the homepage. That tells Google to ignore the rest of your site — a serious error.
  • Canonical pointing to a page that returns a 404 or is blocked in robots.txt. The signal becomes useless or confusing.
  • Relative or wrong addresses (without https, with the wrong domain). Always use the full absolute URL.
  • Contradictions: page A points to B, while B points to A. Google doesn't know which to believe.

Remember: canonical is a recommendation, not a ban. If you truly want to block a page from being indexed, you use a different tool (noindex), not canonical.

Canonical vs. redirect vs. noindex

These three get confused often, but they solve different problems:

  • Canonical: the content is useful and reachable at several addresses, but you want one to be the "official" one in search. Visitors can still use the other variants.
  • 301 redirect: the old address shouldn't exist at all anymore; you automatically send both the person and Google to the new address. Right when you move or permanently remove a page.
  • Noindex: the page must exist for visitors but you don't want it in Google at all (for example a thank-you page after a form).

Choosing wrong between them is one of the hidden reasons a site doesn't show up as it should in results. It's worth thinking through from the start, not fixing afterward.

How we handle it at MPO Web Studio

When we build a site, we configure canonical correctly from the start: each page points to itself, and duplicate variants (filters, parameters, www/non-www) are handled so they don't compete with each other. It's not something you as the owner need to understand technically — but it's good to know it's being done, because many cheap sites skip this step and quietly lose visibility.

We work fully remotely, for clients across the country, and we can prepare a free demo of your site before you pay anything — so you see the result, not just the promise.

If you have pages that duplicate each other and you're not sure what's wrong, message us on WhatsApp and we'll take a look together, no strings attached.

Frequently asked questions

Does canonical remove a page from Google?+

Not directly. Canonical tells Google which variant to display preferably, but the others stay accessible to visitors. If you want a page to not appear in search at all, you use the noindex tag, not canonical.

Do I need to put canonical on every page?+

Ideally, yes — each page should have a canonical pointing to its own address (self-canonical). It's a clean practice that prevents confusion, especially on URLs with parameters. It's not mandatory, but it helps.

Does Google always respect the canonical I set?+

In most cases, yes, but it's a recommendation, not a command. If the signals are contradictory (different content, internal links pointing elsewhere), Google may pick another page. That's why consistency matters.

What's the difference between canonical and a 301 redirect?+

A redirect permanently moves the person and the search engine from one address to another — the old page effectively disappears. Canonical keeps all variants accessible but marks one as primary in results. Choose redirect when you move content, canonical when the duplicates need to stay.

Can I point canonical to another site's page?+

Yes, it's called a cross-domain canonical and is used when you republish a syndicated article, pointing to the original. It's useful for syndicated content, but use it carefully: don't point to a different page unless it's genuinely the same content.

Free guide

7 mistakes that drive clients away from your website

Leave your email and get the guide right here, instantly. No spam.

By submitting, you agree to the Privacy Policy.
MThe MPO teamWe reply personally

Want to see what your business's website could look like?

Message us on WhatsApp and we'll build you a free demo website with your business name on it. See it first, then decide — no strings attached.

Ask for a free demo websiteWe usually reply within a few minutes