title: Rewriting a URL - 2 variable without altering current rewrites
body: <p>I've got most of the rewrites I need working but I can't get the second part working with 2 variables, here is my code:</p>
  
  <pre><code>    RewriteEngine On
      RewriteBase /
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)$ entity.php?vanityName=$1 [L]
  
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^([^/]*)/([^/]*)$ /entity.php?vanityName=$1&amp;section=$2 [L]
  </code></pre>
  
  <p>The last bit needs to allow, for example, <a href="http://example.com/vanityName/Section" rel="nofollow">http://example.com/vanityName/Section</a> however it doesn't pass the section variable.
  How can I fix this while retaining the current rewrites?</p>
  
  <p>How can I get it so it works for /vanityName, /vanityName/section but allows me to keep other directories free of rewriting, like /includes/?</p>