Session ID
- Example
?sessionid=abc123- Suggested handling
- Remove from URLs and use cookies
What URL parameters are, why faceted and tracking parameters waste crawling, and Google's documented fixes with robots.txt and canonical examples.
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.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
=) to separate key-value pairs and add additional parameters with an ampersand (&)." Parameters filter, sort, paginate, track or identify sessions.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 unchangedGoogle'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.
?sessionid=abc123?utm_source=newsletter?color=red&size=10?sort=price?page=2The 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.
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.
user-agent: Googlebot
disallow: /*?*products=
disallow: /*?*color=
disallow: /*?*size=
allow: /*?products=all$?, which also blocks paginated pages you want crawled.&.#) 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.3 questions people ask next, answered from the sources on this page.
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.
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.
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.
The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.