A store page rarely stays at one address. A shopper filters a category by colour and the URL grows a parameter. The catalogue runs to several pages and the listing splits into page 1, page 2 and page 3. Tracking codes arrive on links from newsletters and ads. Every one of those addresses works and can earn signals, but the signals land scattered across versions of what is often the same page.

The canonical tag is how you tell search engines which of those addresses is the preferred version. This guide works through the two cases a store actually faces, filters and pagination, because they look alike and are not: filters produce the same content at several addresses, while pagination produces different content at each address. It also shows how to generate each tag with the free Canonical Tag Generator on Ovatly. One honest note: the generator produces the tag for the URL you enter. Choosing that URL is your decision, and for pagination the tool's material does not name the case, so this guide applies the decision logic the tag is defined by.

Contents

  • Quick answer
  • Why store pages multiply
  • The filter case: same content, several addresses
  • The pagination case: a sequence, not a set of copies
  • Canonical or redirect, for store URLs
  • How to generate the tags, step by step
  • Worked example: canonicalising a filtered product page
  • Limitations and honest notes
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

For filters, point every filtered version at the clean page URL: the versions show the same content, so the clean address is the preferred version and each duplicate carries a tag naming it. For pagination, treat each numbered page as its own page with a self-referencing canonical, because page 2 shows different products from page 1. Generate every tag the same way with the Canonical Tag Generator: enter the full, absolute URL of the preferred version, choose whether the tag is self-referencing, and copy the tag into the <head> of the page and of every duplicate version.

Why store pages multiply

Three ordinary features of a store create the extra addresses. Filters add parameters: a shopper who narrows a list by colour or size is still looking at the same products, but the address now carries the filter. Pagination splits one long list into a numbered sequence, each number its own address. And shared or advertised links pick up tracking codes, so the same page is reached through URLs that differ only in parameters. None of these addresses is broken; the problem is only that the signals they earn stay split instead of consolidating.

The filter case: same content, several addresses

A filtered page is the textbook case the canonical tag exists for: similar content at several addresses, where one address is clearly the preferred version. The shopper filtering by colour has not created a new page; they have opened a view of the same page. The clean URL, without the filter parameters, is the version you want credited.

So the rule for filters is simple. Every filtered version carries a canonical tag naming the clean URL. The clean URL carries a self-referencing tag naming itself, which confirms the preferred address even when parameters or tracking codes get added to links.

The pagination case: a sequence, not a set of copies

Pagination tempts the same treatment and should not get it. Page 2 of a category is not page 1 at a second address; it shows the next slice of products. The canonical tag, by definition, names the preferred version when similar content exists at several addresses. Page 2 is not a version of page 1, so pointing its canonical at page 1 misdescribes it: each numbered page is its own page.

The choice that matches the definition is a self-referencing canonical on every numbered page: page 2 names page 2, page 3 names page 3. That still does useful work, because numbered pages get linked with extra parameters attached, and the tag confirms the clean numbered address as that page's preferred version.

To be plain: the generator's documentation does not discuss pagination by name; the guidance above applies its definition and its canonical-or-redirect logic to a sequence of pages.

Canonical or redirect, for store URLs

The deciding question is whether the extra address should keep working. Redirect when the old URL should never be visited: a moved page, or the http version of a page now at https. Use a canonical when several URLs must keep working, such as filter and print versions of one page.

Store filters and numbered pages both have to keep working: a shopper mid-filter cannot be redirected to the unfiltered page without losing their view, and a link to page 3 has to land on page 3. So the addresses stay live, and the tags sort out which one gets the credit.

How to generate the tags, step by step

  1. Open the Canonical Tag Generator.
  2. Enter the full, absolute URL of the preferred version of the page. For a filtered version, that is the clean URL. For a numbered page, it is that page's own clean address.
  3. Choose whether the tag is self-referencing, that is, whether the URL you entered is this page's own address. It is for the clean page and for every paginated page; it is not for a filtered version pointing at the clean URL.
  4. Copy the generated tag into the <head> of the page, and of every duplicate version. A filtered page and its clean page carry the same tag; a paginated page carries its own.

Worked example: canonicalising a filtered product page

The generator's own example: a shop shows the same kettle at "/kettle" and "/kettle?color=black". Enter the canonical URL "https://example.com/kettle" and the tool produces:

<link rel="canonical" href="https://example.com/kettle">

Placed on both versions, it tells search engines to credit the clean URL. On the clean page the tag is self-referencing; on the filtered page it names the preferred version. Nothing about the shopper's experience changes: both addresses keep working, and the signals consolidate onto the one address. The same pattern scales to a category, while each paginated page gets a tag from its own address.

Limitations and honest notes

Canonical tags are strong hints, not commands. Search engines can choose a different canonical if signals conflict, for example when internal links point elsewhere. If your menus keep sending visitors to filtered addresses, the tag is fighting your own site: link to the clean URLs you want credited.

Every page should have exactly one canonical tag. Multiple conflicting tags are usually ignored, which hands the choice back to the search engine. Templates can quietly add a second tag, so check the rendered page.

The URL must be absolute and include the protocol; relative canonicals are unreliable and the generator rejects them. And the generator's role is narrow: it produces a correct tag for the URL you give it. It does not crawl your store or decide your pagination policy.

Common mistakes

  • Canonicalising every paginated page to page 1. Page 2 is not a copy of page 1. Give each numbered page a self-referencing tag instead.
  • Redirecting filtered URLs to the clean page. The filter address must keep working for shoppers. Canonicalise it, do not redirect it.
  • Using a relative URL. A canonical without the protocol is unreliable, and the generator rejects it.
  • Leaving two canonical tags on a page. Conflicting tags are usually ignored. One page, one tag.
  • Pointing internal links at the versions you canonicalised away. Conflicting signals are the reason a search engine may choose a different canonical.

FAQs

Should every filtered version of a product page carry the same canonical? Yes. The filtered versions are the same content at several addresses, so each one carries a tag naming the clean URL as the preferred version, telling search engines to credit the clean URL.

Canonical or redirect: which should I use for filter pages? Use a canonical. Redirect when the old URL should never be visited, such as moved pages or http to https. Use a canonical when several URLs must keep working, such as filter and print versions of one page.

What does self-referencing mean? A self-referencing canonical points a page at its own URL. It is good practice: it confirms the preferred address even when parameters or tracking codes get added to links.

Does a canonical pass link value? Generally yes: signals from duplicate versions consolidate onto the canonical URL, which is the main reason to set it correctly.

Should page 2 and page 3 of a category canonicalise to page 1? Not under the logic the tag is built on. A canonical names the preferred version when similar content exists at several addresses. Page 2 shows different products from page 1, so it is not another version of the same content; it is its own page.

Conclusion

Filters and pagination both multiply a store's addresses, but they ask for opposite treatment: filtered versions canonicalise to the clean URL because they are the same content, and numbered pages canonicalise to themselves because each one is its own content. The Canonical Tag Generator produces either tag in seconds once you have made that decision. When the same content appears on two different sites, the tag can cross domains too: see the companion guide, Cross-Domain Canonicals: When and How to Use Them. More guides like this one live in the SEO Tools guides archive.