Answer the question
In order to leave comments, you need to log in
How to set up a 301 redirect with a GET request in the address?
Good afternoon!
There are pages of a site like http://site/catalog/?id=1 , you need to configure it, you need to set up a redirect to a page like http://site/catalog/bloki-ten
The new site is made on WordPress. For redirection use
RewriteCond %{QUERY_STRING} ^id=26
RewriteRule ^.*$ /catalog/elektropech-dlya-yelektrodov/? [R=301,L]
RewriteCond %{QUERY_STRING} ^/catalog/?id=26
RewriteRule ^.*$ /catalog/elektropech-dlya-yelektrodov/? [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