Free SEO audit for new clients — claim yours
Home/Blog/Technical SEO/URL Parameters and SEO: How to Handle Them
Technical SEO

URL Parameters and SEO: How to Handle Them

URL Parameters and SEO: How to Handle Them
Table of contents
  1. Key Takeaways
  2. What Are URL Parameters?
  3. Common Parameter Types and How to Treat Them
  4. How URL Parameters Affect SEO
    1. Duplicate and near-duplicate content
    2. Wasted crawling
    3. Diluted signals
    4. Ugly, less clickable URLs
  5. What Happened to the URL Parameters Tool?
  6. How to Audit Your URL Parameters
  7. How to Handle URL Parameters: Your Options
    1. Canonical tags
    2. robots.txt
    3. Return 404s for empty or nonsense combinations
  8. A Step-by-Step Parameter Strategy
  9. Common Mistakes
  10. Related Guides
  11. Frequently Asked Questions
    1. Are URL parameters bad for SEO?
    2. Does Google still have a URL Parameters tool?
    3. Should I block URL parameters in robots.txt?
    4. Do UTM parameters cause duplicate content?
    5. Should filtered pages be indexed?
    6. Are hash fragments treated like parameters?
  12. Conclusion
  13. References

Look at the address bar on almost any online shop and you will see something like ?color=blue&size=m&sort=price. Those are URL parameters, and they are essential for filters, sorting, site search, pagination and campaign tracking. They are also one of the most common reasons sites end up with thousands of near-identical URLs competing for Google's attention.

Google no longer offers a dedicated tool for telling it how to treat parameters, so in 2026 the job falls entirely on your site's architecture: which URLs you link to, which you canonicalise, which you block and which you never create in the first place.

This guide explains what URL parameters are, how they affect SEO, how to audit them, and a practical decision process for handling each type.

Key Takeaways

  • URL parameters are key-value pairs after a ?, separated by &.
  • Parameters that do not change content (tracking, sessions, sort order) create duplicate URLs and waste crawling.
  • Google retired the Search Console URL Parameters tool in 2022, so handling parameters is now done on-site.
  • Use rel="canonical" to consolidate duplicates, robots.txt to stop crawling of low-value combinations, and clean internal links throughout.
  • Only give parameter URLs indexable status when they serve real, distinct search demand.

What Are URL Parameters?

A URL parameter (also called a query string or query parameter) is information appended to a URL after a question mark. Each parameter has a key and a value joined by an equals sign, and multiple parameters are joined by ampersands. Google's URL structure guidelines recommend exactly this standard encoding, and its faceted navigation guidance warns that unusual separators such as commas, semicolons or brackets are harder for crawlers to interpret.

https://shop.example.com/shoes?color=blue&size=9&sort=price_asc
                              └── key=value ──┘ └ key=value ┘ └── key=value ──┘

Parameters generally fall into two groups. Active parameters change what the page shows (filtering, pagination, translation). Passive parameters do not change content at all (tracking, session IDs, referral codes).

Common Parameter Types and How to Treat Them

TypeExampleChanges content?Typical handling
Tracking?utm_source=newsletter, ?gclid=NoCanonical to clean URL; never link internally
Session ID?sessionid=123NoMove to cookies
Sorting?sort=price_ascOrder onlyCanonical to default listing; consider robots.txt
Filtering?color=blueNarrows resultsIndex only filters with search demand; block or canonicalise the rest
Pagination?page=2YesKeep crawlable with self-referencing canonicals
Site search?q=red+shoesYes, unboundedBlock crawling with robots.txt
Language/region?lang=deYesPrefer subfolders or subdomains instead

For campaign tagging specifically, see our guide to UTM parameters. For paginated series, see our pagination SEO guide.

How URL Parameters Affect SEO

Duplicate and near-duplicate content

/shoes, /shoes?sort=price and /shoes?utm_source=x show the same products. Google has to cluster them and pick a canonical, and it may not pick the one you want. Our duplicate content guide covers how that selection works.

Wasted crawling

Google's URL structure documentation warns that overly complex URLs with multiple parameters can create unnecessarily high numbers of URLs pointing to identical or similar content, and that Googlebot may consume much more bandwidth than necessary. When filters combine additively, the number of possible URLs explodes. That pulls crawling away from your important pages, which is a real issue for large stores (see our crawl budget guide).

Diluted signals

If external sites and your own navigation link to several variants of the same page, signals are split across URLs until Google consolidates them.

Ugly, less clickable URLs

Long query strings look untrustworthy in search results and when shared. Short, descriptive paths are easier for people to read, remember and trust.

“Wherever possible, avoid the use of session IDs in URLs and consider using cookies instead.”

— Google Search Central, URL structure best practices for Google

What Happened to the URL Parameters Tool?

Search Console used to include a URL Parameters tool where site owners could tell Google which parameters to ignore. Google announced its retirement in March 2022, and the tool was switched off the following month. The practical effect is that you can no longer "configure" parameters for Google; you have to manage them through canonicals, robots.txt, internal links and URL design.

How to Audit Your URL Parameters

  1. Crawl the site with a crawler such as Screaming Frog or Sitebulb and filter for URLs containing ?.
  2. Check Search Console. In the Page indexing report, look for "Duplicate without user-selected canonical" and "Alternate page with proper canonical tag" examples containing parameters.
  3. Review the Crawl Stats report to see whether Googlebot spends many requests on parameter URLs.
  4. Analyse server logs to quantify crawling of parameter combinations; our log file analysis guide explains how.
  5. Search Google with site: and inurl: to spot indexed parameter URLs. Our search operators cheat sheet lists the combinations.
  6. List every parameter with its purpose, whether it changes content and whether anyone searches for that filtered view.

How to Handle URL Parameters: Your Options

MethodStops crawling?Consolidates signals?Best for
Clean internal linksReduces discoveryIndirectlyEvery site; the foundation
rel="canonical"NoYes (strong hint)Tracking, sorting and low-value filter variants
robots.txt disallowYesNo (blocked URLs cannot pass signals)Site search, infinite filter combinations
noindexNoNoPages users need but search does not
rel="nofollow" on linksReduces discoveryNoFilter links you never want crawled
Static, indexable URLsN/AYesHigh-demand filters such as "red running shoes"
404 for empty combinationsOver timeN/AFilter combinations with no results

Canonical tags

Google's canonicalization documentation describes rel="canonical" as a strong signal and sitemap inclusion as a weak one. Point parameter variants at the clean version:

<link rel="canonical" href="https://shop.example.com/shoes" />

Remember that canonical tags do not stop crawling; Google still needs to fetch the URL to see the tag. More detail in our canonical tag guide.

robots.txt

When combinations are effectively infinite, blocking crawling is more efficient. Google's faceted navigation guidance suggests disallowing filtered URLs you do not need indexed while keeping the unfiltered listing crawlable:

User-agent: *
Disallow: /*?*sort=
Disallow: /*?*sessionid=
Disallow: /search?

Test patterns carefully; a broad rule can block pages you want indexed. Also note that a blocked URL can still be indexed without content if it is linked, and it cannot pass its signals to a canonical.

Return 404s for empty or nonsense combinations

“Return an HTTP 404 status code when a filter combination doesn't return results.”

— Google Search Central, Managing crawling of faceted navigation URLs

Serving a 200 "no products found" page instead is a classic cause of soft 404 errors.

A Step-by-Step Parameter Strategy

  1. Remove session IDs and other passive parameters from URLs where the platform allows.
  2. Make sure navigation, breadcrumbs and sitemaps only link to clean, canonical URLs.
  3. Keep parameters in a consistent order and never allow duplicate keys.
  4. Add self-referencing canonicals to clean pages and canonicals from variants to the clean version.
  5. Block site search and unbounded combinations in robots.txt.
  6. Promote the few high-demand filters to static, keyword-focused category URLs; our faceted navigation guide explains how to choose them.
  7. Monitor the Page indexing and Crawl Stats reports monthly.

Common Mistakes

  • Linking internally with UTM tags. Tracking parameters on internal links create duplicates and overwrite session attribution in analytics.
  • Combining robots.txt and canonical on the same URL. If Google cannot crawl the page, it never sees the canonical.
  • Noindexing everything with a parameter. Pagination and valuable filters can be legitimate landing pages.
  • Using parameters for country versions. Google's multi-regional guidance labels this "Not recommended"; compare structures in our subdomain vs subfolder guide.
  • Relying on hash fragments for indexable content. Google generally ignores fragments, so content only reachable via # URLs will not be crawled as separate pages.
  • Changing filter URLs without redirects. Category URLs that already rank need 301s when restructured.

Frequently Asked Questions

Are URL parameters bad for SEO?

No. They are normal and often necessary. Problems arise when parameters create many duplicate or low-value URLs that Google crawls and indexes instead of your main pages.

Does Google still have a URL Parameters tool?

No. Google retired the Search Console URL Parameters tool in 2022. You now manage parameters with canonical tags, robots.txt, internal links and URL design.

Should I block URL parameters in robots.txt?

Block parameters that create endless, low-value combinations, such as site search or sort orders, but not those you want indexed or consolidated via canonical tags.

Do UTM parameters cause duplicate content?

They can if those URLs get crawled. Never use UTM tags on internal links, and make sure pages carry a self-referencing canonical to the clean URL.

Should filtered pages be indexed?

Only filters with real search demand and unique value, such as a popular product type. Most filter combinations should be canonicalised or blocked.

Are hash fragments treated like parameters?

No. Google generally ignores the part of a URL after #, so fragment-based filters have no impact on crawling either way.

Conclusion

URL parameters are not the enemy; unmanaged parameters are. Audit what you have, keep internal links clean, consolidate duplicates with canonicals, block infinite combinations and turn genuinely valuable filters into proper landing pages. That keeps Googlebot focused on the URLs that earn traffic.

Running a large catalogue with filters and tracking everywhere? Our ecommerce SEO team untangles parameter issues every week, and our WooCommerce SEO guide covers platform specifics. Get a free quote.

References

  1. Google Search Central: URL structure best practices for Google
  2. Google Search Central: Managing crawling of faceted navigation URLs
  3. Google Search Central: How to specify a canonical URL
  4. Google Search Central Blog: Spring cleaning: the URL Parameters tool
  5. Google Search Central: Managing multi-regional and multilingual sites
  6. Semrush: What are URL parameters? A guide on how to use them
Rohit Choudhary
Written byRohit ChoudharyCo-Founder, My SEO Experts

Rohit Choudhary is the co-founder of My SEO Experts and has more than 14 years of hands-on experience in SEO, paid advertising and digital marketing. Since starting out in 2011 he has helped hundreds of businesses grow through practical, data-driven search strategies, and he also serves as a consulting Digital Marketing Director for several US-based companies.

Keep reading

Related articles

How to Set Up 301 Redirects in .htaccess
Technical SEO

How to Set Up 301 Redirects in .htaccess

Copy-ready .htaccess rules for the 301 redirects you actually need, explained line by line, with a safe process for testing them before Google sees them.

400 Bad Request Error: Causes and How to Fix It
Technical SEO

400 Bad Request Error: Causes and How to Fix It

A 400 Bad Request error means the server refused a request it considered malformed. Here is how to find the cause, fix it as a visitor or site owner, and protect your SEO.

Ready to grow your business online?

Get a free, no-obligation proposal tailored to your goals and budget.

CallFree Quote