URLs · Query strings

Query string contains sort parameters

This page links to itself with a sort parameter, which creates a second address for the same content in a different order.

How this page is built

The link below points to this page with ?sort=price-asc added to its address. The server ignores the query string and returns this same page.

See this page sorted by price.

Sorting changes the order of items but not which items are shown, so every sort option is another copy of the same listing.

The canonical on both versions points to this page's address without the query string.

Why it matters

Sort options show the same items in a different order. Each option creates another address with the same content, so search engines see duplicates.

On large sites with many listing pages and several sort options, this can multiply the number of crawlable URLs many times over.

How to check it

Search a crawl export for parameters such as sort, order and orderby, and count how many addresses they create. Check the canonical on each sorted page.

How to fix it

Point the canonical of every sorted page at the default order. Where possible, sort with buttons or JavaScript that does not create new links, so crawlers are not invited to follow each option.

Back to all tests