Canonicalize filtered category URLs

Filtered category URLs usually should not compete with the clean category page. Keep the base URL canonical and self-referencing, and canonicalize filter combinations to it unless a combination has its own demand and unique inventory. Never canonicalize to a blocked or missing URL.

highIn codeimpact effort

Why this matters

One canonical category, or a deliberate landing page.

Get the full breakdown

The extended brief explains when this works, when it does not, and the trade-offs. Join the waitlist and it unlocks for every tip when sign-in opens; MCP access is the paid part.

Join the waitlist

Before you start

  • A list of category filters
  • Control over canonical generation

How to apply it

  1. Classify each facet General best practice

    List filters and decide whether each combination is a duplicate or a potential landing page based on search demand and unique inventory.

    Check: Every facet has a documented decision and a canonical target.

  2. Emit the right canonical

    Duplicate combinations canonicalize to the clean category URL. Approved landing pages self-canonicalize and get unique copy.

    Check: A filtered URL returns a canonical equal to the category URL, unless it is an approved landing page.

  3. Prevent conflicts

    Ensure no canonical points to a 3xx, 404 or robots-blocked URL, and do not add noindex to canonicalized pages.

    Check: A crawl confirms every canonical target returns 200 and no canonical page carries noindex.

Get the prompt for your agent

A ready-to-paste prompt for your agent that implements this tip and verifies the result in your repo.

Join the waitlist

Source: seo-mcp playbook · curated entry · report an error

Framework notes

shopify

Collection filters live in the URL; output the canonical from `collection.url` in `theme.liquid` and avoid app-injected canonical tags that override it.

nextjs-app

In `generateMetadata`, build `alternates.canonical` from the pathname without filter search params, except for approved landing routes.

Official references

Let your agent apply this + 161 more tips.

Pre-order — $19