title: How can I use mod_rewrite to remove everything after the ? (question mark) in a URL?
body: <p>How can I use mod_rewrite to remove everything after the ? (question mark) in a URL?</p>
  
  <p>For instance: </p>
  
  <p><code>http:// 127.0.0.1/ALL_FILES.php?test=1</code> </p>
  
  <p>after mod_rewrite: </p>
  
  <pre><code>http:// 127.0.0.1/ALL_FILES.php
  </code></pre>
  
  <p>For php this means that the $_GET super global will always be empty for all files on the system. </p>
  
  <p>Thank you.</p>