title: htaccess redirect url with parameters
body: <p>I have hundreds of links like this:</p>
  
  <pre><code>http://www.domain.com/index.php?tag=value
  </code></pre>
  
  <p>I want to redirect all links to</p>
  
  <pre><code>http://www.domain.com/value/
  </code></pre>
  
  <p>Example:</p>
  
  <p>Link1 <code>http://www.domain.com/index.php?tag=LW1fdX49tR</code>
  redirect to: <code>http://www.domain.com/LW1fdX49tR/</code></p>
  
  <p>Link2 <code>http://www.domain.com/index.php?tag=A3kh0QLIrc</code>
  redirect to: <code>http://www.domain.com/A3kh0QLIrc/</code></p>
  
  <p>Link3 <code>http://www.domain.com/index.php?tag=vXwNR4U9qY</code>
  redirect to: <code>http://www.domain.com/vXwNR4U9qY/</code></p>
  
  <p>etc</p>
  
  <p>How can I do that?
  Thank you!</p>