Definition: sorting allows the user to rank the displayed products by popularity, price, alphabetical order and more.
Relying on the optimization of sorting navigation is ideal for dynamically covering a very large number of queries rather than using other pages outside the user's exploration path that would not be highlighted for search engines.
This type of navigation also makes it possible to reduce the level of depth of a page by making it easier to highlight the listed products.
WARNING: Sorting can generate many parameters that can duplicate your existing pages at the expense of your strategic pages.
For bots, plan according for the accessibility and inaccessibility of your sorts.
Accessibility of sorting options
A sorting option is accessible when there is a visible link to its URL in the source code (<a href>)
Inaccessibility of sorting options
Making the sorting option inaccessible consists of removing the combination URL from the source code. Several solutions exist to implement that, including the use of AJAX.
Recommended solution: link encryption
This solution consists in not displaying the URLs in clear/plain text in the source code to prevent search engine spiders from following it and indexing it. The target URL is first encoded on the server side and then reconstructed on the client (browser) side using JavaScript code. Example of a bot's vision:
<span id = 'encrypted link'> Example </ span>If JavaScript is enabled (user view), a script will decode the ID of the <span> tag and rebuilds the link by replacing the <span> tag with <a>
<a href='documented_link'> Example </a>The Javascript file used to decode the link will have to be blocked by robots.txt via the disallow command in order that Google does not try to decode your links.
By default, your listing page should always present the newer products in order to favour content freshness explored by Google's bots and help index the URLs of new products.
You should consider making the following sorting options accessible:
For example, if the user is on the "xbox games" category and sort the products by price "low to high", you will have a page with the following title "cheap xbox one games" that will allow you to rank on the SERPs and have users find you
Google Ads, Feb 2020, USA
If a sorting option is selected/enabled, the breadcrumbs have to evolve with reference to the previous level (only for the 2 that are accessible to search engines: low to high + popular)
No sorting option is activated
CDkeys Home> Category
1 sorting option is activated
CDkeys Home> Category> Sorting option 1
Once the user has selected a sorting option, the rest of the options should not be accessible to bots.
Example: if the following sorting option has been selected: "prices from low to high", sorting products by "popularity" can not be cumulated
http://www.mysite.com/category/cheap-category should not be able to be cumulated with http://www.mysite.com/category/best-category
Optimize H1, TITLE, URL and meta-description accordingly:
Sorting by price 'low to high'
TITLE: Cheap CONSOLE games | CDkeys
H1: Cheap CONSOLE games
URL: cdkeys.com/cheap-nameofconsole-games
Meta Description: Write an enticing text within 155 characters
For example:
NINTENDO -> SWITCH GAMES -> select low to high
Title: Cheap Nintendo Switch Games | CDkeys
URL: cdkeys.com/cheap-nintendo-switch-games
H1: Cheap Nintendo Switch games
Sorting by popularity
TITLE: Best Console games | CDkeys
H1: Best Console Games
URL: cdkeys.com/best-console-games
Meta Description: Write an enticing text within 155 characters
For example:
NINTENDO -> SWITCH GAMES -> select by popularity
Title: Best Nintendo Switch Games | CDkeys
URL: cdkeys.com/best-nintendo-switch-games
H1: Best Nintendo Switch games