htaccess/mod_rewrite doesn't work
I have tried this but it doesn't seem to work:
RewriteCond %{QUERY_STRING} ^?var=10&开发者_如何学运维view=3$
RewriteRule ^/index.php$ http://www.domain.com/index.php?var=11&view=1 [L,R=301]
RewriteCond %{QUERY_STRING} ^var=10&view=3$
RewriteRule ^index.php$ http://www.domain.com/index.php?var=11&view=1
See common pitfalls (item #2), in the .htaccess file, the leading "/" is not necessary. Also, the leading "?" in the RewriteCond is unnecessary.
精彩评论