title: mod_rewrite - old parameter name to new name
body: <p>Hi all I need a bit of getting a redirect working in mod_rewrite.</p>
  
  <p>I need to redirect the following</p>
  
  <pre><code>http://mysite.com/dictionary/find?word=test
  </code></pre>
  
  <p>to</p>
  
  <pre><code>http://mysite.com/dictionary/find?w=test
  </code></pre>
  
  <p>I'm sure the solution is trivial enough but my knowledge of mod_rewrite and regular expressions is quite limited and I haven't been able to work out. This is what I have attempted so far to no avail.</p>
  
  <pre><code>RewriteCond %{QUERY_STRING} word= [NC]
  RewriteRule ^/(.*)word=(\w+)/$ /w=$1 [L]
  </code></pre>
  
  <p>Any help would be much appreciated. Thanks.</p>