How to prohibit robots indexing by search engines catalog pages except the first, so as not indexed 2,3,4, etc pages?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
20 views
How to prohibit robots indexing by search engines catalog pages except the first, so as not indexed 2,3,4, etc pages?
Here is the directory https://tinyurl.com/yax4nj45
Here is the second page https://tinyurl.com/yd4wr5sk

What you need and how to register?

Objective: to search Yash was not given page listing, but only the specific goods and first page with SEO text.
But at the same time the goods to leave the course for indexing.
by | 20 views

1 Answer

0 like 0 dislike
It is necessary to prescribe the line
Disallow: *?page=

But I do not recommend to do so, because the robots will cease to visit these pages... will not be from these pages go to scan products and other links.
You just have to correctly configure the pagination and let the robots walk everywhere.

Sometimes specify the canonical url for all pages on the first

This is 100 times better than the ban in the file robots.txt but Google recommends a canonical address to write correctly on each page of the pagination and add the meta tag rel NEXT and PREV for a bunch of pages with the same subject and to indicate the next and previous page.
In this case I recommend SEO text to remove from all pages except the first (configured programmatically in code). Well, the meta Title eschu add inscription "page 2", "page 3" etc, then all perfect and close is not necessary.
by

Related questions

110,608 questions
257,186 answers
0 comments
35,392 users