I did password protect a directory via cPanel.
When I enter the protected directory URL or a file located in this directory into the browser, I receive a 404 page instead to get prompted to enter a user name and password.
http://www.my-domain-name.com/wp/wp-content/client-345/
http://www.my-domain-name.com/wp/wp-content/client-345/image.jpg
cPanel generated this .htaccess file:
AuthUserFile "/home/.../.htpasswds/public_html/wp/wp-content/client-345/passwd"
AuthName "ano789"
AuthType Basic
require valid-user
Any help to access the protected directory via browser would be appreciated.
When I enter the protected directory URL or a file located in this directory into the browser, I receive a 404 page instead to get prompted to enter a user name and password.
http://www.my-domain-name.com/wp/wp-content/client-345/
http://www.my-domain-name.com/wp/wp-content/client-345/image.jpg
cPanel generated this .htaccess file:
AuthUserFile "/home/.../.htpasswds/public_html/wp/wp-content/client-345/passwd"
AuthName "ano789"
AuthType Basic
require valid-user
Any help to access the protected directory via browser would be appreciated.