Following on from protecting directories using
The easiest way to do this is using
.htaccess again. However, this solution is easier than setting up the password protected directory in the first place.
All you have to do is create a new .htaccess file in the subdirectory you don’t want password protected and add one line to it:
This will allow that subdirectory to be accessible without the password required to access the parent directory.