I have 9 directory folders that I want to make available to my associates, but with password protection. They are stored in public_html.
When I use my cPanel to password protect the directories, they become inaccessible. I get a message that the file is not available and no request for password.
I got some advice to change the .htaccess file as follows"
Replace -
RewriteRule . /index.php [L]
With-
RewriteRule ./ /index.php [L]
That did not work well, as other things in WordPress were affected.....like many pages going to 404 not available.
Got any advice?