title: HTACCESS Rewrite Order
body: <p>The line with rewriting index.php and the other three lines work perfectly, but not when put together, I've tried all possibilities with position of the lines, and to be honest pretty exhausted.</p>
  
  <p>My code below:</p>
  
  <pre><code>RewriteEngine On
  RewriteRule (.*) index.php
  RewriteCond %{REQUEST_URI} !^/(admin|admin/.*)$
  RewriteCond %{REQUEST_URI} !^/(l|l/.*)$
  RewriteCond %{REQUEST_URI} !^/(includes|includes/.*)$
  </code></pre>
  
  <p>Can anyone help me in this quick question?</p>
  
  <p>The script runs in: <a href="http://domain.com/folder/" rel="nofollow">http://domain.com/folder/</a></p>
  
  <p>The .htaccess is also placed in that folder.</p>
  
  <p>The problem is that it rewrites also files in the admin,l and includes folder</p>