URL parameters
Query strings that modify page content or track user behavior.
What is URL parameters?
URL parameters are key-value pairs added to URLs after a question mark (?) that modify page content, filter results, or track user sources. Examples include sort=price, page=2, and utm_source=google.
For SEO, parameters create challenges: they can generate infinite URL combinations, duplicate content issues, and crawl budget waste. Proper parameter handling is essential for large sites.
Why URL parameters matters
Unmanaged URL parameters can create millions of crawlable URLs, wasting crawl budget on duplicate or low-value pages. Proper handling ensures search engines focus on valuable URLs while still allowing functionality.
How to implement
Identify all parameters on your site
Categorize: sorting, filtering, tracking, pagination
Use canonical tags for filtered versions
Block crawling of low-value parameter combinations
Configure parameter handling in Search Console
Use POST instead of GET for session/preference parameters
Code example
# robots.txt to block parameter combinations
Disallow: /*?sort=
Disallow: /*?sessionid=
Disallow: /*?utm_
# Use canonical for filtered pages
<link rel="canonical" href="https://example.com/products/">Common mistakes to avoid
- Allowing all parameter combinations to be indexed
- Not using canonical tags on filtered pages
- Session IDs or tracking in crawlable URLs
- Creating unique URLs for every filter combination
Examples
?sort=price - sorting parameter (noindex)
?page=2 - pagination (canonical handling)
?color=red - filter (may warrant indexing if valuable)
?utm_source=google - tracking (should not create new URLs)
Frequently asked questions
No, some parameters create valuable pages (like brand filters with search demand). Block low-value parameters (sorting, sessions) but evaluate filters individually.
Use rel=next/prev (though Google ignores now) and self-referencing canonicals. Most important: ensure all content is accessible and important pages are linked from crawlable pages.