rewrite and password protected directories
I have searched high and low (including in the forums, the codex, google, you name it) for a non-equivocal answer, on why wordpress 2.x is generating 404 errors on password protected directories and how to force wordpress 2.x to ignore a specific directory or directories.
The scenario is thus:
WordPress installed in the top level directory of a domain, eg:
Password protected directory (via .htaccess) within the WordPress directory, eg:
Is there a working method to control how wordpress based re-write rules are created? Specifically, I wish to exclude an entire sub-directory structure from the wordpress re-write rules.
No, this cannot be reliably done from the .htaccess file within the WordPress install due to WP internally generating re-write rules on the fly and virtually ignoring the .htaccess file.. and yes, I have tried excluding the directory none-the-less.
This seems to be an ongoing issue that’s just not being taken seriously. There are certain directories I wish to control access over, yet cannot due to the way WP now internally handles rewrite rules.
One in particular, is a statisics directory for the hosted domain, that I do not have permissions to modify. As a result, WordPress prevents me from accessing this data solely due to the almost fanatical control WP now exerts over directory structures.
I find that a little unnecessary. If anyone has managed to “out-smart” WordPress (preferably in a recent SVN build) and restored the ability to serve content from password protected directories, via .htaccess, I’m all ears.
- The topic ‘rewrite and password protected directories’ is closed to new replies.