Sometimes, when you access a specific subfolder on the website, it might ask you to enter a password twice.
This happens in cases when the password is set not only for the subfolder which you want to open but also for its parent directory.
Why this happens
Having separate passwords on nested directories can be useful if you want different permission levels for your website’s visitors — for example, letting some visitors access more directories with a different password. However, if this isn’t intended, you can remove the double password request.
How to remove the double password request
-
Move the password protection from the subdirectory to its parent directory
-
Remove any rewrite rules/redirects in .htaccess file(s) above the subfolder that you are trying to access
If password protection was set in hPanel, you can also manage access from the Password Protect Directories page.