Password protecting wp-admin


The wp-admin area of your website should be accessed only by the admin user and you do not need to allow access to anyone else for security reason and also to avoid and password brute force issues with your admin user.Activating the password protection for that folder is quite easy since your cPanel includes such feature.

 

In this tutorial we will discuss how you should create such a protection and how you should enable a user to access the protected folder.

 

STEP 1Activating Password Protection

 

In order to activate the password protection feature via the cPanel service you will need to of course login into the cPanel service. Next you will either need to use the search option at the top left area of the cPanel service or search on your own for the icon called “Password Protect Directories”.

 

cpanel-password-protect-directories

 

Once you access this feature you will be presented with a directory structure for all of the directories for your WordPress website and there you will need to click on the wp-admin folder link:


configuring-protection

 

Once you click on that link you will be redirected to the actual interface where you will need to check the “Password protect this directory” checkbox, set the name of the protected directory and click the “Save” button.

 

activating-password-protection

 

Then you will be provided with a message indicating that this folder has been password protected and you will need to go back for setting the username and password for the user who will have access to that directory.

 

protection-activated

 

If you click on the "Go Back" button you will be returned to the previous page where you will be able to add a use who can access the password protected directory. 

 

STEP 2Adding a user with privileges to access the folder

 

Please use the “Create User” interface at the bottom of the page for creating a user who will have access to the folder.

 

configuring-user-for-access

 

Once you are ready with the user click the “Add/Modify authorized user” in order for the user to be added in the allowed users list. When the user is added successfully you will be able to login with the username and password you have just created in the password protection interface when you access the wp-admin folder. 

Congratulations! You have successfully activated the password protection!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to manually install WordPress

    STEP 1Downloading and Preparing the File The installation will require for you to download...

How to Configure your Settings in Wordpress

  STEP 1General Settings In order to begin reviewing and changing the setting of your...

Changing the header of your website

STEP 1Accessing the Header Configuration Page Assuming that you are already logged into the...

Creating Menus using Theme Options in WordPress

  STEP 1Creating a new Menu The WordPress “Menus” page is located inside the admin area of the...

Enabling or disabling the comments

Since the WordPress platform allow the its users to write comments and of course read other...