Answer the question
In order to leave comments, you need to log in
How to cut part of url and make a 301 redirect?
There is such a problem. Site stroy-krovlja.ru. On some categories, such a url appears stroy-krovlja.ru/manufacturer/aquasystem?prod=meta... Tell me how to remove the extra part of the url ?prod=metal-rainwater and leave stroy-krovlja.ru/manufacturer/aquasystem . As I understand it, this can be done with a 301 redirect, but I don’t know how.
Answer the question
In order to leave comments, you need to log in
In your particular case, something like this
RewriteRule
stroy-krovlja.ru/manufacturer/aquasystem?prod=meta ... stroy-krovlja.ru/manufacturer/aquasystem [L,R=301]
htaccess variables like HTTP_HOST etc.
I need a redirect to similar links and not just one, but thanks anyway)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question