Options +FollowSymLinks
RewriteEngine On
RewriteCond %{THE_REQUEST} ^[A-Z]+ /(#[^?& ]*)??([^& ]*&)?s=([^& ]+)[^ ]* HTTP/
RewriteRule ^$ http://wordpressblog.com/search/%3? [R=301,L]
Currently I use the above .htaccess mod_rewrite rule to convert default WordPress search permalink:
http://wordpressblog.com/?s=key+word
into nice permalink like this:
http://wordpressblog.com/search/key+word
My question is: What part of the mod_rewrite rule above that I need to change to get a nicer permalink like this one:
http://wordpressblog.com/search/key-word.html
Thanks.