title: Exclude a folder/directory from RewriteRule
body: <p>I have a pretty standard WordPress .htaccess with the following URL rewrites  </p>
  
  <pre><code># BEGIN WordPress 
  &lt;IfModule mod_rewrite.c&gt;  
  RewriteEngine On  
  RewriteBase /  
  RewriteRule ^index\.php$ - [L]  
  RewriteCond %{REQUEST_FILENAME} !-f  
  RewriteCond %{REQUEST_FILENAME} !-d  
  RewriteRule . /index.php [L]  
  &lt;/IfModule&gt; 
  # END WordPress  
  </code></pre>
  
  <p>WordPress is installed in my domain root. I have some other scripts in subfolders, e.g. /opencart These subfolders contain their own .htaccess files.</p>
  
  <p>Unfortunately, it seems that WordPress hijacks the rewrites for some of these scripts sometimes.</p>
  
  <p>How can I ask mod_rewrite to ignore WordPress rules for rewrites when encountered with specific subfolders e.g. opencart and to use the rules defined in the .htaccess within these subfolders instead?</p>