# i convert cgi styled URLs into static like following: RewriteCond %{QUERY_STRING} s=([^&]*)&lng=([^&]*) RewriteRule ^/searchform /a/%2/%1? [R=301] # everything is OK until space symbol is used in the value. # the space symbol for some bloody reason is encoded not as %20, but as '+' # and from the URL # # mysite.com/searchform?s=depeche+mode&lng=en # # i become: # mysite.com/a/en/depeche+mode # # instead of: # mysite.com/a/en/depeche%20mode # # how could I get %20 ? # # i tried this: RewriteCond %{QUERY_STRING} (s=[^+]*)\+(.*) RewriteRule ^/searchform %1%%20%2?[N]