Free auditStart free
GlossaryGlossary · Crawling

URL parameters

What URL parameters are, why faceted and tracking parameters waste crawling, and Google's documented fixes with robots.txt and canonical examples.

3 min
read
3
sources
Oct 24, 2026
updated
Scaplet Editorial Team
author
In one line

URL parameters are key-value pairs after the ? in a URL, such as ?color=red&size=10. Some change the content, like filters and page numbers. Others do not, like session IDs. Parameters that don't change content create duplicate URLs that Google may crawl needlessly, so trim them, keep session IDs out of URLs, and control faceted URLs with robots.txt or canonicals.

30-second check

Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Check it

What URL parameters are

Google's URL structure guidance says to "use the following common encoding: an equal sign (=) to separate key-value pairs and add additional parameters with an ampersand (&)." Parameters filter, sort, paginate, track or identify sessions.
One page, five parameters
https://example.com/products?category=shoes&color=red&sort=price&page=2&utm_source=newsletter

category=shoes            filters the list
color=red                 filters the list
sort=price                reorders the same items
page=2                    selects a slice of the list
utm_source=newsletter     tracks the visit, content unchanged
02Explained

Why they cause crawl waste

Google describes the faceted navigation problem as "overcrawling": crawlers cannot tell whether a filtered URL is useful without fetching it, and time spent on those URLs slows the discovery of new content. The number of URLs grows by multiplication. If three filters can each take three values and be combined freely, that is 3 x 3 x 3 = 27 URLs for one product list, before sorting or paging.

Google's URL guidance advises shortening URLs by "trimming unnecessary parameters (meaning, parameters that don't change the content)," and avoiding session IDs in URLs: "consider using cookies instead." It also treats /APPLE and /apple as distinct URLs, so case differences create duplicates too.

04Check it

Block facets in robots.txt

Google lists robots.txt first among its options for faceted URLs you don't want in Search, and says canonical and nofollow are generally less effective in the long term. Its own example uses wildcard rules and an allow for the page you want kept:

Test the patterns before shipping. A rule that is too broad can block pages you want indexed, including paginated lists. Use the robots.txt guide for syntax.

Adapted from Google's faceted navigation example
user-agent: Googlebot
disallow: /*?*products=
disallow: /*?*color=
disallow: /*?*size=
allow: /*?products=all$
05Checklist

Common mistakes

First2
Using robots.txt for canonicalization. Google's canonicalization guidance says not to, because Google may still index disallowed URLs without their content.
Disallowing every URL with ?, which also blocks paginated pages you want crawled.
Next2
Using commas, semicolons or brackets as parameter separators. Google recommends the standard &.
Returning a soft 404 or redirecting empty filter combinations. Google recommends a real 404.
Then1
Expecting URL fragments (#) to change what Google indexes. Google generally doesn't support fragments in crawling and indexing, so a filter built on them has no effect on crawling, positive or negative. Don't use them to change page content.
Questions

Asked a lot.

3 questions people ask next, answered from the sources on this page.

01Should I block all URL parameters in robots.txt?

No. Block parameters that only duplicate content, such as sort orders and low-value facets. Keep parameters that produce pages you want indexed, and keep pagination crawlable. Review a sample of blocked URLs before and after deploying the rules.

02Does the order of parameters matter?

Google's guidance on parameters doesn't address order. For filters encoded in the URL path, it says the logical order of the filters should always stay the same. Link internally in one consistent order either way.

03Are URL parameters bad for SEO?

Google's guidance targets the extra URLs they can generate: parameters that don't change the content, and faceted navigation, which Google says can create a very large number of possible URLs. Google's URL structure guidance only asks you to use as few parameters as you can.

Sources · 3

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • google.com
  1. 01URL structure best practices for Google Searchdevelopers.google.com · checked 2026-10-24
  2. 02Managing crawling of faceted navigation URLsdevelopers.google.com · checked 2026-10-24
  3. 03Consolidate duplicate URLsdevelopers.google.com · checked 2026-10-24
Free · 2 minutes

Know the term. Now check your site.

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly