Author Topic: Tutorial - How To Customise The WordPress Login Prompt  (Read 735 times)

Offline Lindsay

  • Sr. Member
  • ****
  • Posts: 294
    • View Profile
    • http://stars.bz
Tutorial - How To Customise The WordPress Login Prompt
« on: August 15, 2015, 02:21:42 AM »


On Stars.bz, all WordPress admin areas have an additonal login prompt known as the Human Security Check.

The prompt stops the majority of automated login attempts, though some do still get through. This is because the login/password is the same for everybody, so it is not as secure as it could be.

You can now change the login and password so that it is unique to your website.

It is easy to do. Here’s how.

Edit The .htaccess File

  • Login to cPanel
  • Click on File Manager (select the checkbox to show hidden files)
  • In your public_html folder, edit the .htaccess file

Find this block of code:

Code: [Select]
AuthName “Human Security Check”
AuthType Basic
AuthUserFile /home/.htpasswd
require valid-user

Change the AuthUserFile line so it becomes:

Code: [Select]
AuthName “Human Security Check”
AuthType Basic
AuthUserFile /home/USERNAME/.htpasswd
require valid-user

Replace the USERNAME with your cPanel username.

Creating a New Login and Password

  • Go to this Htpasswd Generator site.
  • Enter the login and password you want to use. Click the Create .htpasswd file button.
  • Return to your cPanel File Manager
  • Create a new file in the top-most directory (one level above public_html) called .htpasswd
  • Place the single line from the Generator site and save.

The line will look something like this:

Code: [Select]
bob:$apr1$4cydQfVB$wrGzg/HetzGnk7hOWm3qf1
Test It Out

That’s it! You can now test it to make sure it is working properly by visiting your WordPress admin dashboard.

If you are having problems with setting this up, please post on our forums or open a support ticket and we will help you out.