Answer the question
In order to leave comments, you need to log in
How to disable all pages with the ending ?page=* in robots.txt?
On the site, for example, the first page of each section looks like
https://domen.ru/collection/kategoria
And after going to the second page of the section, the address bar takes the form
https://domen.ru/collection/kategoria?page=2
https:// domen.ru/collection/kategoria?page=2 etc.
How can I disable the indexing of such pages?
Answer the question
In order to leave comments, you need to log in
Disallow: /categoria?page
If the categories are different, then the whole pagination is crushed like this:
Disallow: page=
But! This is a completely wrong approach to organizing pagination.
1. It still works, you need to put the noindex, follow meta tag on the pagination pages
2. Set the canonical on the first page (if it’s a yashka) or on the page with a list of all products (Google)
3. don’t forget about prev-next
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question