title: Why is my pagination not working after mod rewrite?
body: <p>Before rewriting my url <code>file.php?style=foo&amp;page=2</code> works fine. </p>
  
  <p>After rewrite it stops working and just stays on the same page with the <code>?page</code> variable at the end like it's not getting caught: </p>
  
  <p><code>foo-new?page=2</code> </p>
  
  <p><strong>After the rewrite the page parameter stops working on the clean url.</strong></p>
  
  <p>Here's what my rewrite rules look like:</p>
  
  <pre><code>RewriteCond %{QUERY_STRING} ^style=([A-Za-z-]+)/?$
  RewriteRule ^file\.php$ %1-new? [NS,R=301,L]
  RewriteRule ^([A-Za-z-]+)-new/?$ file.php?style=$1&amp;redirect=no [NS]
  </code></pre>