This feature is also known as HTTP Authentication. Here’s how to do it:
This takes: 2 minutes.
- Log in to Plesk and choose “Password Protected Direcotires” under your domain
- Select Add Protected Directory. Enter in the directory name (wp-admin), location (probably httpdocs) and title of the protected directory and click OK.
- Once the directory is added, select the directory. This will allow you to set a user and password to access the directory.
- Click Add New User and enter in the username, secure password, and then confirm the password, and click OK.
That’s it! If you visit the URL that corresponds with that directory, you’ll be prompted to enter a username and password before you can view it.