سلام,
1. Directory Privacy
2. public_html -> admin
3. Create User
4. Password protect this directory. -> Enter a name -> Save
5. Check The .htaccess Code in admin folder:
"
AuthType Basic
AuthName "Enter a name"
AuthUserFile "/home/yourwebsite/.htpasswds/public_html/admin/passwd"
require valid-user
"
6. check this directory: /home/yourwebsite/.htpasswds/public_html/admin/passwd
7. open passwd file
8. be sure your username and password is there