title: Redirect index.php with parameters to index.php to others parameters using htaccess
body: <p>I have a shop which has migrated to another version, and the product catalog has changed.
  Now, I have a table with the correspondence of the product ID and I need to create some redirection with htaccess like this: </p>
  
  <pre><code>RewriteRule ^index.php?id_product=3&amp;controller=product$ index.php id_product=101064&amp;controller=product [R=301,L]
  </code></pre>
  
  <p>I know now the the old id <code>3</code> is now the id <code>101064</code>... but it doesn't work.</p>
  
  <p>I tried:</p>
  
  <pre><code>RewriteRule ^toto.php$ index.php?id_product=101064&amp;controller=product [R=301,L]
  </code></pre>
  
  <p>and it works, but why doesn't the first code snippet work?</p>