On this page
What this issue is
A category page such as /shoes/ often lets shoppers sort (price, newest, best selling) and filter (size, colour, brand). Each choice usually adds a URL parameter, a piece after the ? in the address. For example /shoes/?sort=price-asc or /shoes/?color=red&size=9.
| Parameter type | Example | Usually best handling |
|---|---|---|
| Sort order | ?sort=price-asc | Canonical to the clean category URL |
| Display options | ?view=list&per_page=48 | Canonical to the clean category URL |
| Filter with no search demand | ?size=9&price=50-100 | Canonical to the clean category URL, limit crawling |
| Filter with real search demand | ?brand=nike or /shoes/nike/ | Give it a clean URL, unique title and self-referencing canonical |
Why it costs you leads or sales
- Category page/shoes/ is the page you want ranked
- Sort and filter linksEach click adds parameters to the URL
- Duplicate URLs crawledGoogle finds hundreds of near-identical pages
- Signals splitLinks and relevance spread across versions
One category turns into many competing URLs.
Example: how a single category can grow when sort and filter options combine. Numbers are illustrative.
How to check if your site has it
Search Google for indexed parameter URLs
Search
site:yourdomain.com inurl:?sort=and repeat withinurl:?filter,inurl:color=or your own parameter names. Many results mean parameter URLs are indexed.Check Google Search Console
Open Indexing > Pages. Look at the reasons 'Duplicate without user-selected canonical', 'Alternate page with proper canonical tag' and 'Crawled - currently not indexed', and inspect example URLs for parameters.
Click a sort and a filter on your site
View the page source (right-click, View page source) and search for
rel="canonical". Note whether it points to the clean category URL or to the parameter URL itself.Crawl the site
Use a crawler such as Screaming Frog or Sitebulb. Filter the URL list for
?and check canonical, indexability and title columns for duplicates.
How to fix it
Use your SEO plugin
Yoast SEO, Rank Math and similar plugins add a canonical to category pages. On WooCommerce, check that the canonical on
/shop/?orderby=pricepoints to/shop/by viewing the page source.Fix any override
If a theme or filter plugin outputs its own canonical with parameters, disable that option in the plugin settings or remove the theme code.
Check the theme canonical
Most themes output
<link rel="canonical" href="{{ canonical_url }}">inlayout/theme.liquid. Shopify'scanonical_urldrops sort and filter parameters, so confirm yours has not been replaced withrequest.pathplus parameters.Review filter apps
Storefront filtering apps may create their own filter URLs. Check the source of a filtered page and ask the app vendor how it handles canonicals if the tag is wrong.
Set the canonical tag
In Page settings > SEO settings, or in Site settings > SEO, add the canonical path for the clean category page. Webflow CMS Collection pages use the Collection page settings.
Check Finsweet or custom filters
Client-side filters that add
?parameters still load the same page, so the page's canonical applies. Confirm it is the clean URL.
Check the canonical in SEO settings
Wix adds canonicals automatically. Open the page source of a sorted store page and confirm the canonical shows the clean URL.
Use SEO Settings in the dashboard
Under Marketing & SEO > SEO Settings, review the URL and canonical options for store pages.
Rely on the automatic canonical
Squarespace adds a canonical tag to pages. Check a sorted or filtered page (
?category=or?sort=) to see it points to the main page.Limit crawlable filters
Avoid linking to many tag or category filter combinations in menus and footers.
Output a clean canonical
Build the canonical from the path only, and add back only parameters you want indexed (such as
pageor an allowed filter).Test sorted and filtered URLs
Request a few parameter URLs and check the head of the HTML for a single canonical pointing to the clean URL.
<?php
$allowed = ['page']; // parameters that change the content you want indexed
$path = strtok($_SERVER['REQUEST_URI'], '?');
$query = array_intersect_key($_GET, array_flip($allowed));
$canonical = 'https://www.example.com' . $path;
if (!empty($query)) {
$canonical .= '?' . http_build_query($query);
}
?>
<link rel="canonical" href="<?php echo htmlspecialchars($canonical); ?>">Decide which filters deserve a page
Keep a filter as its own indexable page only if people search for it (for example 'red running shoes') and it has a unique title, heading and a self-referencing canonical, ideally on a clean URL like
/shoes/red/.Canonical everything else to the clean category
Sort, view, per-page and other combinations should point to the base category URL.
Reduce internal links to parameter URLs
Make filter links less prominent for crawlers, for example by loading results with JavaScript without changing the URL, or by adding
rel="nofollow"to low-value filter links. Do not rely on this alone.Block endless combinations if needed
For very large catalogues, add targeted robots.txt rules once canonicals are in place.
Keep parameter URLs out of the sitemap
Your XML sitemap should list only the clean, canonical category URLs.
User-agent: *
Disallow: /*?*sort=
Disallow: /*?*orderby=
Disallow: /*?*view=Before
- /shoes/?sort=price-asc has its own canonical pointing to itself
- Filter URLs appear in Search Console and in site: searches
- Sitemap lists parameter URLs
- Google shows a sorted URL in results
After
- Sort and view URLs canonical to /shoes/
- Only filters with search demand are indexable
- Sitemap lists clean category URLs only
- Google shows the main category page
How to confirm it's fixed
- View source on a sorted and a filtered URL: one canonical, pointing to the clean category URL
- URL Inspection in Search Console shows the clean URL as the Google-selected canonical
- A crawl shows parameter URLs as 'Canonicalised' rather than 'Indexable and self-canonical'
- The sitemap has no
?URLs - The
site:searches for your parameters return fewer results over the following weeks
How to prevent it happening again
- Add a canonical check to your launch checklist whenever you add a filter app, theme or plugin
- Test one sorted and one filtered URL after each theme or platform update
- Review Search Console Pages report monthly for new parameter patterns
- Run a crawl each quarter and filter the URLs containing
? - Keep filter links out of the XML sitemap
- Document which filters are allowed to be indexed
How FunnelGuard handles this
Questions people ask
Why are my filter and sort URLs showing up in Google?
Google follows links on your category pages, and every sort or filter option usually creates a new URL with parameters. Without a canonical tag pointing to the clean category page, or with a canonical pointing to itself, those URLs can be crawled and indexed as separate pages.
Should I use noindex or a canonical for filter pages?
For most sort and filter pages a canonical to the clean category URL is the safer choice, because it consolidates signals. Noindex removes the page from results but does not pass signals. Do not use both on the same page, as they send mixed messages.
Should I block filter parameters in robots.txt?
Only as a second step. Google cannot read a canonical on a page it is blocked from fetching, so blocked URLs that are already indexed can linger. Use canonicals first and then block endless low-value combinations if crawl load is a problem.
Do sort parameters cause duplicate content penalties?
Google does not usually apply a penalty for ordinary duplicate URLs. The real costs are split ranking signals, wasted crawling and the risk of the wrong version appearing in results.
How do I find which parameters create duplicate pages on my site?
Crawl your site with a tool such as Screaming Frog and filter the list for URLs containing a question mark. Check Search Console's Pages report for duplicate-related reasons, and run site: searches with inurl: for common parameters like sort, filter or color.
Should any filter pages be indexed?
Yes, if people search for that combination, such as a brand or a colour plus product type. Give it a clean URL, a unique title and heading, a self-referencing canonical and internal links. Leave the rest canonicalised to the main category.
Does FunnelGuard detect duplicate category URLs?
No. FunnelGuard does not check canonical tags or duplicate URLs yet, though it could be a future check. Use Google Search Console and a site crawler to monitor it for now.
Related issues
- SEO-058UTM or click-ID parameter URLs indexed as duplicatesFix guide
- SEO-059Session ID parameters in URLsFix guide
- SEO-062Duplicate product pages across multiple category pathsFix guide
- SEO-042Missing rel=canonical on indexable pagesFix guide
- SEO-052Google chose a different canonical than declaredFix guide
- SEO-049Canonical on paginated pages points to page 1Fix guide