次のURLをリダイレクトしようとしています
http://www.mydomain.com/catalogsearch/result/index/?brand=1076&mode=grid&product_category=5533&q=pro+restore
この URL へ:
http://www.mydomain.com/nsearch/?q=pro+restore
これは、htaccess の他の URL に使用したコードです。
RewriteCond %{REQUEST_URI} ^/catalogsearch/result/index/$
RewriteCond %{QUERY_STRING} ^brand=1076&mode=grid&product_category=5533&q=pro+restore$
RewriteRule ^(.*)$ http://www.mydomain.com/nsearch/?q=pro+restore [R=301,L]
しかし、うまくいきません。私が欠けているものについてのアイデアはありますか?
ありがとう