title: htaccess form submit auto redirect to clean url
body: <p>i have a site</p>
  
  <pre><code>site.com/?w=thisworks
  site.com/w/thisalsoworksmanually
  </code></pre>
  
  <p>i got this to work via htaccess</p>
  
  <p>now i have a form... when it gets submitted</p>
  
  <p>i get  <code>site.com/?w=stuffsubmitted</code>
  i'm trying to have it auto redirect to <code>site.com/w/stuffsubmitted</code></p>
  
  <p>here is my htaccess that works</p>
  
  <pre><code>RewriteEngine on
  
  RewriteRule ^w/([^/]+)/?$ /index.php?w=$1 [L]
  </code></pre>
  
  <p>basically..i want to auto redirect to a clean url when form gets submitted..
  if you need some more clarification..please ask.</p>