title: .Htaccess rewrite all to friendly url except if folder, and name is ..?
body: <p>I have a rewrite:</p>
  
  <pre><code>RewriteCond %{REQUEST_URI} !\.(gif|jpg|png|css|js|etc|flv|swf|mp4|mov)$ [NC]
  
  RewriteRule ^([^/]*)/([^/]*)$ /detail.php?type=$1&amp;url=$2 [L]
  </code></pre>
  
  <p>It rewrites <code>site.com/detail.php?type=2&amp;url=3</code> to <code>site.com/type/url</code></p>
  
  <p>Now I have a folder, <code>site.com/admin/</code> and when I type in <code>site.com/admin/</code> it sends me to a rewritten page because of htaccess, how can I prevent the htaccess rewrite from working if folder name is admin?</p>