URL Parameters
URL parameters are key-value pairs after a ? in a URL, like ?utm_source=email, used for tracking, filtering and sorting. They can create duplicate URLs.
What are URL Parameters?
URL parameters, also called query strings, are key-value pairs added to the end of a URL after a question mark, with multiple pairs joined by ampersands, for example /pricing?plan=team&billing=annual. They are used for campaign tracking, filtering, sorting, pagination, search results and session handling. Because they can create many URLs for the same content, they need careful SEO handling.
Parameters are everywhere on modern sites: marketing automation adds UTMs, product directories add filters, and analytics or A/B testing tools sometimes add their own identifiers. Each variation is technically a different URL to a crawler.
How it works
Common parameter types:
| Type | Example | Changes content? |
|---|---|---|
| Tracking | ?utm_source=newsletter | No |
| Sorting | ?sort=price_asc | Reorders only |
| Filtering | ?category=siem&size=enterprise | Yes, narrows |
| Pagination | ?page=2 | Yes |
| Search | ?q=zero+trust | Yes |
| Session or IDs | ?sessionid=123 | No |
A crawler that follows every combination of filters and sorts can find thousands or millions of URLs, a “crawl trap” that delays discovery of important pages.
How to handle them
- Inventory parameters with a crawler and server logs to see which ones exist and how often bots hit them.
- Decide intent per parameter: indexable (useful filtered pages with search demand) or not.
- Canonicalize non-indexable variations to the clean URL with
rel="canonical". - Link internally to clean URLs only. Do not add tracking parameters to internal links.
- Block true crawl traps such as infinite sort and filter combinations in robots.txt, but only if you do not need them indexed (blocked URLs cannot pass canonical signals).
- Keep parameter order consistent so
?a=1&b=2and?b=2&a=1do not both exist.
Examples
- A B2B SaaS integrations directory lets users filter by category and sort by popularity. The team makes category filter pages indexable with unique intro text, canonicalizes sorted versions to the unsorted page, and blocks multi-filter combinations from crawling.
- A marketing team discovers Google indexing
/blog/post?utm_source=linkedin. Adding self-referencing canonicals to the clean URL resolves it over time.
Common mistakes
- Using noindex and robots.txt blocking together on the same URLs (crawlers cannot see a noindex on blocked pages).
- Canonicalizing paginated pages all to page one, which can hide content on later pages.
- Letting session IDs appear in URLs.
URL Parameters and AI search
AI crawlers and the search indexes behind AI answers face the same duplication issues. Clean, canonical URLs make it more likely that the right page is retrieved and cited, and that citations point to a URL you control and track. Parameterized duplicates can also fragment the signals that help a page get selected.
Related terms
Sources
- Managing crawling of faceted navigation URLs (Google Search Central)
- How to specify a canonical URL with rel=“canonical” and other methods (Google Search Central)
- URL Parameter Handling (Search Engine Journal)
- URL Parameters: A Complete Guide for SEOs (Ahrefs)
Frequently asked questions
Are URL parameters bad for SEO?
Not inherently. Parameters are fine when they create genuinely different, useful pages (such as a filtered category people search for) or when they are tracking-only and canonicalized to the clean URL. They become a problem when they generate large numbers of crawlable duplicates or near-duplicates.
What replaced Google's URL Parameters tool?
Nothing directly. Google retired the URL Parameters tool in Search Console in 2022, saying its systems had become good at guessing which parameters matter. Site owners now rely on rel=canonical, clean internal links, robots.txt for crawl traps, and Google's guidance on faceted navigation.
Should UTM parameters be canonicalized?
Yes. Pages reached through UTM-tagged links should declare the clean URL as canonical, and you should never use UTM parameters on internal links, because they overwrite the original traffic source in analytics and create extra URLs for crawlers.