RewriteEngine On RewriteCond %{QUERY_STRING} \bbrand=(.*)\b RewriteRule ^p$ p.%1 RewriteRule (.*)%(.*) $1.$2 [N] Please tell me how to access follow url with this rule,thanks. http://mydomain/brandSearchList.jsp?brand=%E7%88%B1%E6%85%95