title: htaccess lang prefix and query string
body: <p>i have an htaccess that add a lang prefix on a specific folder on all files </p>
  
  <p>htaccess rules</p>
  
  <pre><code>RewriteRule ^fr/folder/(.*)$                /folder/$1?lang=1 [L]
  RewriteRule ^en/folder/(.*)$                /folder/$1?lang=2 [L]
  </code></pre>
  
  <p>With the above rules i can redirect the </p>
  
  <pre><code>/en/folder/myscript.php to /folder/myscript.php?lang=1
  </code></pre>
  
  <p>and its working fine.</p>
  
  <p>Now i am trying to find a way to add the query string if any </p>
  
  <p>for example</p>
  
  <pre><code>/en/folder/myscript.php?id=100 to /folder/myscript.php?lang=1&amp;id=100
  </code></pre>
  
  <p>I have try to use the code below but no luck</p>
  
  <pre><code>RewriteCond %{QUERY_STRING} !^lang=1
  RewriteRule ^el/folder/(.*)$                /folder/$1?lang=1&amp;%1 [L]
  </code></pre>
  
  <p>Any help appreciated.</p>