Prevent WordPress’ .htaccess From Effecting Certain Directories


This post was originally published in 2009
It may contain stale & outdated information. Or it may have grown more awesome with age, like the author.

This really frustrated me. To ensure my next bout of teeth-gnashing isn’t caused by the same problem I’m documenting the solution here:

Create an .htaccess file in the base directory of the tree you wish to be “freed” from WordPress.

In this file type:

RewriteEngine Off

Done. Thanks to Dave Child’s comments in his post about mod_rewrites, from which my solution was derived.

No comments | Trackback