Answer the question
In order to leave comments, you need to log in
How to write rel=" canonical" for catalog pages with filtering and pagination?
There is a product catalog with pagination and filtering (in some categories), CNC is not used for filters. We plan to move the site from http to https.
For pagination pages, as far as I understand, the rel="canonical" attribute contains either a link to the current page (to 1, 2, 3, etc.), or to a page with all products ("Show all"). Is this solution fair for both Yandex and Google?
And what about rel="canonical" on filter pages?
Answer the question
In order to leave comments, you need to log in
Google advises any of three options:
do nothing;
set rel="canonical" from all pagination pages, including the first one, to the page with all products — pageall;
use the next, prev attributes to show the relationship between pagination pages (it was relevant until March 2019).
SEO specialists also practice other methods:
they block crawling using placement or prohibit indexing in the robots.txt file (while robots is not a directive).
on all pagination pages point rel="canonical" to the first (main) page.
My opinion is canonical for 1 page
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question