I want to password protect the top-level folder on my domain, but that also protects sub-folders. Is there a way to stop sub-folders from being protected?
Put a new .htaccess file is the sub-directories. It will override other .htaccess files. Note that if you protect the root, all your visitors will get an error, that might not be the best idea.
1 Like
Maybe the answer from this StackOverflow posts would do the trick?
There’s multiple on that page. Which one do I need to use?
I linked to a specific answer, that’s the one I would suggest to try.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.