Password Protect WordPress
Your WordPress admin area is already protected by your WordPress password. However, adding password protection to your WordPress admin directory adds another layer of security to your website.
First login to your WordPress hosting cPanel dashboard and then click on ‘Password Protect Directories’ or ‘Directory Privacy’ icon.
Next, you will need to select your wp-admin folder, which is normally located inside /public_html/ directory.
On the next screen, you need to check the box next to ‘Password protect this directory’ option and provide a name for the protected directory.
After that, click on the save button to set the permissions.
Next, you need to hit the back button and then create a user. You will be asked to provide a username / password and then click on the save button.
Now when someone tries to visit the WordPress admin or wp-admin directory on your website, they will be asked to enter the username and password.
Source: read more…