We have released a couple of search enhancements that are important for SEO.
Unless explicitly overridden in the admin panel, search pages by default have a title of a following form:
Search | {platform name}
It is applicable to following tags:
From now on all search pages have canonical URLs specified. This is useful for search engines to index the pages correctly, without classifying search pages as duplicates. Canonical URLs for each search page, no matter the options/filters applied, retain only the pagination. Examples:
General Search
Page | Canonical URL |
---|---|
/search/ | /search/ |
/search/?ordering_mode=most_relevant_first&type=stores&type=products | /search/ |
/search/?ordering_mode=most_relevant_first&type=stores&type=products&page=2 | /search/?page=2 |
Secondary Search instances
Page | Canonical URL |
---|---|
/search/blog/ | /search/blog/ |
/search/blog/?type=blogposts | /search/blog/ |
/search/blog/?type=blogposts&page=2 | /search/blog/?page=2 |
From now on each search result page contains correct meta tags (link rel="prev" and link rel="next" ) that correctly point search engines to paginated search results. Example for a search containing 3 paginated pages when viewing all records:
Page | Prev link | Next link |
---|---|---|
/search/ | - | /search/?page=2 |
/search/?page=2 | /search/ | /search/?page=3 |
/search/?page=3 | /search/?page=2 | - |