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