When wanting to password protect a single file in .htaccess, you can find the instructions in our article below:
Password protecting a single file in .htaccess
If you find in testing that it is not working, you will want to follow a couple of quick troubleshooting steps.
1) ensure that the files (.htaccess, .htpassword, and the file you want protected) are in the correct place.
2) If those are correct, please ensure you check both the password file and .htaccess files for errors, specifically typos. .htaccess is very unforgiving in this manner, including extra spaces.
3) If both of those efforts pass, you are free to contact our Live Support team, where a technician can walk through the issue live and watch the behavior to troubleshoot the issue.
|Email:||support@WebHostingHub.com||Ticket:||Submit a Support Ticket|
|Chat:||Click To Chat Now|