title: Rewrite URL for WordPress with htaccess for multiple query string parameters
body: <p>Our main site is on WordPress. We have external links coming in with various query string parameters. Unfortunately, some of these interfere with WordPress (e.g. 's' is reserved).</p>
  
  <p>I would like to setup rewrite rules with htaccess since that is how I am already doing some things for the site. My issue is that I need to REPLACE the query string parameters with new names so they are not conflicting.</p>
  
  <p>Possible Parameters and Mapping:</p>
  
  <pre><code>'l' -&gt; 'li'
  's' -&gt; 'si'
  'g' -&gt; 'gi'
  'i' -&gt; 'ii'
  </code></pre>
  
  <p>These can come in any order but basically need to be replaced with the above mapping. An example:</p>
  
  <p>FROM
  <a href="http://www.domain.com/register?l=something&amp;s=something" rel="nofollow">http://www.domain.com/register?l=something&amp;s=something</a> (order not predictable)</p>
  
  <p>TO
  <a href="http://www.domain.com/register?li=something&amp;si=something" rel="nofollow">http://www.domain.com/register?li=something&amp;si=something</a></p>