title: How to exclude a specific file from a rewriterule
body: <p>I have been here: <a href="https://stackoverflow.com/questions/5185349/how-to-exclude-a-specific-file-in-htaccess">How to exclude a specific file in htaccess</a></p>
  
  <p>and here: <a href="https://stackoverflow.com/questions/1839537/exclude-files-from-rewrite-rule-in-htaccess">exclude files from rewrite rule in .htaccess</a></p>
  
  <p>but neither worked. What might I be doing wrong?</p>
  
  <p>.htaccess file:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteRule ^wp-content(/.*|)$ - [L] # don't take any action
  RewriteRule ^wp-admin(/.*|)$ - [L] # don't take any action
  RewriteRule ^wp-includes(/.*|)$ - [L] # don't take any action
  RewriteCond %{REQUEST_URI} !^/pureplantessentials\.html$
  
  RewriteRule ^moreinfo/(.*)$ http://www.kgstiles.com/moreinfo$1 [R=301]
  RewriteRule ^healthsolutions/(.*)$ http://www.kgstiles.com/healthsolutions$1 [R=301]
  RewriteRule ^(.*)\.html$ $1/ [R=301]
  RewriteRule ^(.*)\.htm$ $1/ [R=301]
  &lt;/IfModule&gt;
  </code></pre>