title: htaccess redirect with php variables ...
body: <p>I'm using this format in my htaccess to redirect several pages/links:</p>
  
  <pre><code>RewriteEngine On
  RewriteRule special.php http://www.mysite.com [R=301]
  ...
  ...
  RewriteRule http://www.mysite.com/special.php?t=master http://www.mysite.com/index.php?q=former [R=301, L]
  </code></pre>
  
  <p>I noticed, first, that only the top line is catching anything, and in fact the others, like the bottom line, did nothing until I put in that top line. Any ideas why? </p>
  
  <p>Second, mysite.com/special.php?t=grave is redirected, by the above top line, to mysite.com/?t=grave , thus retaining the variables in the URL. I don't want this, I simply want it to go to mysite.com with no variables. How do I do this?</p>
  
  <p>Thanks,
  Derek</p>