Can I remove certain parameters from the canonical URL?
-
For example,
https://www.jamestowndistributors.com/product/epoxy-and-adhesives?page=2&resultsPerPage=16 is the paginated URL of the category https://www.jamestowndistributors.com/product/epoxy-and-adhesives/.
Can I remove the &resultsPerPage= variation from the canonical without it causing an issue? Even though the actual page URL has that parameter?
I was thinking of using this:
instead of:
What is the best practice?
-
Best practices is to remove and noindex such parameters. One of latest projects was Ecommerce shop with 5k products and over 220k indexed pages from categories.
So you need to AVOID indexing such ?results=16 or ?order=asc or ?search=test and to have PURE and only pagination.
Example:
https://www.jamestowndistributors.com/product/epoxy-and-adhesives
https://www.jamestowndistributors.com/product/epoxy-and-adhesives?page=2
https://www.jamestowndistributors.com/product/epoxy-and-adhesives?page=3
https://www.jamestowndistributors.com/product/epoxy-and-adhesives?page=4
are ONLY valid categories pages.If you have infinite scroll situation is described here:
https://developers.google.com/search/blog/2014/02/infinite-scroll-search-friendly?hl=enI hope that this will help you!
Peter