How To Disable .htaccess Authorization for Child Directories

August 17 2010, 10:18am

The problem: I have a password protected WordPress install — only a limited group of users may access its content (simple .htaccess/.htpasswd). I also need to access my WordPress stylesheet (which happens to be in a child directory of the protected environment) for an unprotected homepage though. Traversing the directory stack, we know a more specific .htaccess overrides previous instructions, so despite reading otherwise, I knew there had to be a solution.

Allow from all Satisfy any That’s it. Another .htaccess, put into the child directory, featuring these two lines, allows anyone to access resources further down the directory stack — which makes for an exception of the previously defined access restrictions.