Answer the question
In order to leave comments, you need to log in
How to properly issue a 301 redirect and remove duplicate pages?
Colleagues, help, there are so many things on the Internet and I can’t find the right working solution!
it is necessary to get rid of duplicate pages that give the services
the rule of getting rid of slashes:
RewriteCond %{THE_REQUEST} ([^\s]*?)\/{2,}(\?[^\s]*?)?
RewriteRule (.*) %1 [R=301,L]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question