title: Redirecting URLs with multiple parameters to clean URLs in .htaccess
body: <p>I'm attempting to redirect URLs in .htaccess that have multiple parameters for example: </p>
  
  <pre><code>http://www.example.com/index.php?p=product&amp;id=10&amp;parent=0 
  </code></pre>
  
  <p>to a clean URL on another domain like </p>
  
  <pre><code>http://example2.com/product/product10/
  </code></pre>
  
  <p>I believe my normal method of redirection (using a PHP header in an index file of a directory I've created) will not work due to not being able to put <code>?</code> in a directory name.</p>
  
  <p>I've done some minor .htaccess but have no experience with escaping parameters or anything and the only tutorials I can find are for escaping only a single parameter.</p>
  
  <p>Can anybody give me a few pointers please?</p>