title: Excluding a file or directory from .htaccess rewrite
body: <p>You had a great response that helped me resolve my .htaccess issue on GoDaddy. This was the code you provided:</p>
  
  <pre><code>Options +FollowSymLinks -MultiViews
  # Turn mod_rewrite on
  RewriteEngine On
  RewriteBase /
  
  ## hide .php extension
  # To externally redirect /dir/foo.php to /dir/foo
  RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC]
  RewriteRule ^ %1 [R,L,NC]
  
  ## To internally redirect /dir/foo to /dir/foo.php
  RewriteCond %{REQUEST_FILENAME}.php -f
  RewriteRule ^ %{REQUEST_URI}.php [L]
  </code></pre>
  
  <p>QUESTION: How can I exclude a file and/or directory from being rewritten?</p>
  
  <p>Thanks!
  David</p>