WordPress .htaccess Exclude folder from RewriteRule December 8, 2011 by Webhead To exclude a folder from the wordpress rewrite in .htaccess, add the following line before the other RewriteConds, replacing somedir with your folder name: RewriteCond %{REQUEST_URI} !^/(somedir|somedir/.*)$