I’m trying to secure my whole page with .htpasswd file. It’s just:
Custom .htacces file:
AuthName “Private Website”
Everytime I’m getting just 500 error page. In CPanel there’s option to secure specific subfolders but I don’t want to do this. I want to secure the whole website. Is it possible with free hosting?
If you type
/ in the subfolder box, you protect the entire website. If that doesn’t work, you can use our tool to generate the config files and then move the files.
The .htaccess and .htpasswd files have a quite specific structure and content requirements. Having a tool generate the config for you is highly recommended over trying to build it yourself.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.