title: htaccess rewrite sometimes works sometimes does not
body: <p>I have a rule that I need to apply in multiple instances. I'm just testing one right now, but the results are inconsistent. Here is the rule:</p>
  
  <p><code>RewriteRule ^sub1/(pagename)(/)? sub2/$1$2 [L,QSA]</code></p>
  
  <p>I'm not sure if the (/)? actually works; some documentation says no.</p>
  
  <p>If I enter this in a new private window:</p>
  
  <p><code>http://subserver.site.ca/sub1/mypage?utm_source=sourcePM&amp;utm_medium=value_hidden&amp;utm_campaign=nothing</code></p>
  
  <p>I am redirected to this:</p>
  
  <p><code>http://subserver.site.ca/sub2/mypage</code></p>
  
  <p>…which is correct but the query string is no longer present. If i enter, in a new private window:</p>
  
  <p><code>http://subserver.site.ca/sub1/mypage?utm_source=sourcePM&amp;utm_medium=value_hidden&amp;utm_campaign=nothing</code></p>
  
  <p>…then i still get:</p>
  
  <p><code>http://subserver.site.ca/sub2/mypage</code></p>
  
  <p>If I enter the url again, in the same window:</p>
  
  <p><code>http://subserver.site.ca/sub1/mypage?utm_source=sourcePM&amp;utm_medium=value_hidden&amp;utm_campaign=nothing</code></p>
  
  <p>I get:</p>
  
  <p><code>http://subserver.site.ca/sub2/mypage?utm_source=sourcePM&amp;utm_medium=value_hidden&amp;utm_campaign=nothing</code></p>
  
  <p>…so it seems inconsistent in the way it is being applied. Do yo have any insight, or have a better rule?</p>