# URL parameters

> What URL parameters are, why faceted and tracking parameters waste crawling, and Google

Canonical: https://scaplet.com/glossary/url-parameters

Glossary Glossary · Crawling

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 with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Furl-parameters%20(%22URL%20parameters%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Furl-parameters%20(%22URL%20parameters%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Furl-parameters%20(%22URL%20parameters%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Furl-parameters%20(%22URL%20parameters%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 5 parts, 3 minutes.

1. [What URL parameters are 01](#what-url-parameters-are)
2. [Why they cause crawl waste 02](#why-they-cause-crawl-waste)
3. [Which parameters to control 03](#which-parameters-to-control)
4. [Block facets in robots.txt 04](#block-facets-in-robots-txt)
5. [Common mistakes 05](#common-mistakes)

_01_Check it

## What URL parameters are

Google's [URL structure](/glossary/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
```

_02_Explained

## Why they cause crawl waste

Google describes the [faceted navigation](/glossary/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](/glossary/pagination).

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.

_03_At a glance

## Which parameters to control

Parameter type

### Session ID

Example

`?sessionid=abc123`

Suggested handling

Remove from URLs and use cookies

Parameter type

### Tracking

Example

`?utm_source=newsletter`

Suggested handling

Avoid linking to tracked URLs internally. Point their canonical at the clean URL.

Parameter type

### Facet filter

Example

`?color=red&size=10`

Suggested handling

Disallow in [robots.txt](/glossary/robots-txt) if you don't need the filtered URLs in Search, or canonicalize to the unfiltered page

Parameter type

### Sort order

Example

`?sort=price`

Suggested handling

Same items in another order. Disallow or canonicalize.

Parameter type

### Page number

Example

`?page=2`

Suggested handling

Keep crawlable. Return a 404 for page numbers that don't exist.

The handling column combines Google's faceted navigation options with common practice. Google notes canonicals may only "over time, decrease the crawl volume" of the filtered URLs.

_04_Check 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](/glossary/robots-txt) guide for syntax.

Adapted from Google's faceted navigation example

```
user-agent: Googlebot disallow: /*?*products= disallow: /*?*color= disallow: /*?*size= allow: /*?products=all$
```

_05_Checklist

## Common mistakes

First_2_
Using robots.txt for [canonicalization](/glossary/canonical-url). 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.

Next_2_
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.

Then_1_
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.

_01_ Should 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.

_02_ Does 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.

_03_ Are 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. 01 [URL structure best practices for Google Search](https://developers.google.com/search/docs/crawling-indexing/url-structure) developers.google.com · checked 2026-10-24
2. 02 [Managing crawling of faceted navigation URLs](https://developers.google.com/crawling/docs/faceted-navigation) developers.google.com · checked 2026-10-24
3. 03 [Consolidate duplicate URLs](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls) developers.google.com · checked 2026-10-24

## Keep learning

[All glossary](/glossary)

[Learn Canonical URL Crawling and indexing](/glossary/canonical-url) [Related robots.txt Crawling](/glossary/robots-txt) [Read next Pagination Crawling and indexing](/glossary/pagination) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in glossary
[URL length](/glossary/url-length) [URL mapping](/glossary/url-mapping) [URL Rating](/glossary/url-rating) [URL slug](/glossary/url-slug)

More in Crawling and indexing
[Rendering](/glossary/rendering) [Robots meta tag](/glossary/robots-meta-tag) [Server-side rendering](/glossary/server-side-rendering) [Sitemaps report](/glossary/sitemaps-report) [SPA SEO](/glossary/spa-seo) [SSL certificate](/glossary/ssl-certificate) [SSR vs CSR](/glossary/ssr-vs-csr) [Subdomain vs subdirectory](/glossary/subdomain-vs-subdirectory) [Trailing slash in URLs](/glossary/trailing-slash) [unavailable_after](/glossary/unavailable-after) [URL fragment](/glossary/url-fragment) [URL Inspection tool](/glossary/url-inspection-tool) [URL parameters](/glossary/url-parameters) [URL structure](/glossary/url-structure) [User agent](/glossary/user-agent) [Video sitemap](/glossary/video-sitemap) [Web crawler](/glossary/web-crawler) [Web scraping](/glossary/web-scraping) [www vs non-www](/glossary/www-vs-non-www) [X-Frame-Options](/glossary/x-frame-options) [X-Robots-Tag](/glossary/x-robots-tag) [XML sitemap](/glossary/xml-sitemap) [301 redirect](/glossary/301-redirect) [302 redirect](/glossary/302-redirect)

Terms on this page
[URL structure](/glossary/url-structure) [Faceted navigation](/glossary/faceted-navigation) [Pagination](/glossary/pagination) [robots.txt](/glossary/robots-txt) [Canonical URL](/glossary/canonical-url)

Free · 2 minutes

## Know the term. _Now check your site._

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

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **+212%** organic clicks in 90 days Ledgerly
