为什么我的打开购物车的htaccess规则没有重定向


Why my open cart htaccess rule not redirect

参考

http://stackoverflow.com/questions/7184712/why-is-my-htaccess-rule-not-rewriting-the-url

我正在使用上面的解决方案,它对我来说工作得很好,但是当我用来为url写一个规则时?In it it got fail

RewriteRule ^wp-content/plugins/popup/popup.css'?ver'=4.3$ /contact-us  [L,QSA]

上面的规则不起作用。

我找到解决方案了

RewriteCond %{QUERY_STRING} ^ver=4.3$
RewriteRule ^wp-content/plugins/popup/popup.css$ /contact-us  [L,QSA]