K
K
Kirill Wolf2014-06-09 13:24:10
URL Handling
Kirill Wolf, 2014-06-09 13:24:10

Redirect with get parameters does not work

You need to redirect from the page mysite.ru/goods/catalog/122/?sort=nameup to mysite.ru/goods/catalog/122/.
Tried a bunch of different variations of this example:
RewriteEngine on
RewriteCond %{QUERY_STRING} ^sort=nameup$ [NC]
RewriteRule ^/122/ mysite.ru/goods/catalog/122/? [R=301,L]
Nothing happens :(

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question