Password Protect your wp-admin directory

I found an awesome video tutorial on how to password protect your directory. In addition, I’ve also written a few basic instruction for people using h-sphere / linux / WebShell4. It is almost identical to the video, but with a few little changes.

Notes:

Password protect your wp-admin directory using h-sphere / linux / Webshell4

Log into your web host account / h-sphere control panel

Then follow the instructions below:

  1. click the FTP/UserAccount menu button and choose:
    FTP User
  2. clicked the little icon to login to Webshell4
  3. clicked the PROTECT button on the bottom of the left panel
  4. another smaller window will open with a list of sites that you have on that account (if you have more than one)
  5. double-clicked on (the word) of the site (not on the icon) to expand it (on the left side)
  6. single-click on the icon (not the word) next to: wp-admin
    check near the top of the screen … does it say something like: Folder: /yoursite.com/wp-admin
    (whereas yoursite is actually YOUR site name)
  7. then click the little floppy disc icon - if you hover over it you should see: protect directory (save changes)
  8. in the first text box you will probably see something like: /.htmaster/.ok_user with an edit button next to it.
  9. click the edit button and another screen will open
    click the add button
    fill in the fields for login name and password (twice)
    click save and then click the close button
  10. you will now be back at the Location screen (look at the line near the top - it should say something like
    Location: /yoursite.com/wp-admin/.htacess
  11. click the apply button
  12. test it by going to your site - the page that you usually sign in to your admin panel:
    http://yoursite.com/wp-admin

This time you should be presented with a new login screen into which you have to enter your newly created username and password - then it will allow the usual wp-admin login screen to appear. It is just an extra level of protection.

≡ Leave a Reply