There is a page http://new.mydomain.ru/catalog/category/?set_filter=y&arbFilter_230_1525441506=Y . It is necessary to put a redirect from it to the page http://mydomain.ru/catalog/category/subcategory .
In .htaccess ' I write:
RewriteEngine on RewriteCond %{QUERY_STRING} ^set_filter=y&arbFilter_230_1525441506=Y$ RewriteRule ^catalog/category/$ http://mydomain.ru/catalog/category/subcategory [R=301,L] But the proper effect is not observed. What am I doing wrong?
?set_filter=y&arbFilter_230_1525441506=Y), then put a question mark at the end:RewriteRule ^catalog/category/$ http://mydomain.ru/catalog/category/subcategory? [R=301,L]RewriteRule ^catalog/category/$ http://mydomain.ru/catalog/category/subcategory? [R=301,L]Ie the output ishttp://mydomain.ru/catalog/category/subcategorywith no arguments. Check here . - romeohttp://mydomain.ru/catalog/category/?set_filter=y&arbFilter_230_1525441506=Y- pkrymskaya[NC]. Those.RewriteCond %{QUERY_STRING} ^set_filter=y&arbFilter_230_1525441506=Y$ [NC]- romeo