Sort parameters are URL parameters such as ?sort=price-asc that change the order of items on a list page without changing which items appear. Each sort order gets its own URL, which is why they matter for SEO.
Why do sort parameters matter for SEO?
Ahrefs counts sorting among the active parameters, which change how a page looks or is ordered, and distinguishes them from passive ones such as tracking parameters. Combined with filters and pagination, sort options can multiply the number of crawlable URLs.
Google’s URL structure documentation names shopping sorting parameters as an example of unnecessary URL variations and suggests using robots.txt to keep them from being crawled. Its documentation on faceted navigation says that overcrawling can slow the discovery of new URLs, and that canonical and nofollow are generally less effective in the long term than robots.txt. Ahrefs recommends canonical tags that point to the unsorted page, so practitioners disagree on the best tool.
If parameters are used, Google recommends an equals sign between key and value and an ampersand between parameters. Several values of one key can be separated by a comma.
Example
https://example.com/shoes?category=sneaker&sort=price-asc
https://example.com/shoes?category=sneaker&sort=popularity
Both URLs show the same sneakers in a different order.
Sources
- Managing crawling of faceted navigation URLs – Google Search Centraldevelopers.google.com
- URL structure best practices – Google Search Centraldevelopers.google.com
- URL parameters: a complete guide for SEOs – Ahrefs (secondary)ahrefs.com
Last updated: