Answer the question
In order to leave comments, you need to log in
How to make such a 301 redirect?
For example, there is a page https://site.ru/category/?page=1
I got a duplicate from https://site.ru/category/
How to make a redirect from https://site.ru/category/?page=1 to https ://site.ru/category/
Accordingly, the category can be any
Answer the question
In order to leave comments, you need to log in
RewriteCond &%{QUERY_STRING}& &page=1&
RewriteRule (.+) /$1? [R=301,L]
You will also have problems with
https://site.ru/category/?page=1
https://site.ru/category/?page=2
https://site.ru/category/?page=3
Since a pair of url request and titles and descriptions will not be unique, which can have a bad effect on SEO,
since duplicate pages “cannibalize the request”, this is especially important for low and medium frequencies, since in this case they can also change in the issuance. https://developers.google.com/web/fundamentals/per...
3. remove paging for ajax
and that decision
1. Rial canonical sewn into the header, the criterion is the following if there is a get parameter, then a link to the page without GET.
There should not be a single page with a get parameter in the index at all.
2. Remove paging altogether now there is an excellent and recommended solution from Google
4. exclude paging in robots.txt as pages closed from the index
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question