Seems like there are a couple of questions like this posted, but never any responses. Maybe you know something?
Shortly: A user-created-outside-of-WP folder is throwing a 404 when trying to access it. Now for some details:
Blog ‘SS’ (www.domain.com): normal WP blog. Permalinks “/story/%id%/” through mod_rewrite in the default .htaccess file WP created.
Blog ‘Q’ (www.domain.com/here/): normal WP blog. No fancy permalinks. Located at directory “/here/”.
The problem is that I need “/here/” to be password protected through a .htpasswd file.
But the .htaccess file for Blog “SS” presumably sees “/here/” and tries to rewrite, forcing a 404 on blog “SS”.
When I remove the .htaccess file from the root (“/”), the .htpasswd file for Blog “Q” works perfectly, but permalinks on “SS” quit.
Any thoughts? Is there a way for mod_rewrite to exclude a directory from it’s rules?
- The topic ‘.htaccess and subdirectories’ is closed to new replies.