Knowledge Base

How Can We Help?

Remove Dashboard Access in WordPress

You are here:

WordPress is the preferred Content material Administration System on the planet which powers round 60% of all of the web sites utilizing a CMS. WordPress websites are the preferred goal for the hackers. So it’s important to make the WordPress web site safe. To make sure safety it’s essential to limit the entry to WordPress admin Dashboard and replace the WordPress core recordsdata, plugins and themes relying on the provision of updates. Limiting the entry to the WordPress admin dashboard will provide help to to do away with many safety threats. Now let’s take a look into how one can restrict the WordPress admin dashboard entry by way of a plugin and by way of the .htaccess file.

1) Login to the WordPress admin dashboard of your web site.

2) Set up the plugin named “Take away Dashboard Entry”.

Remove Dashboard Access

 

3) After the set up and activation, navigate to Settings >> Dashboard Entry to configure the plugin.

Remove Dashboard Access

 

4) “Take away Dashboard Entry” plugin lets you select numerous person roles that may get entry to the dashboard. You’ll be able to select directors, editors, and directors, or authors, editors, and directors as proven within the beneath screenshot.

Remove Dashboard Access

 

As one other technique, you may as well restrict the entry by functionality. That’s, you may management what sort of actions do the person carry out.  You can too redirect the restricted customers to a different web page of your web site by utilizing the choice “Redirect URL”. The following possibility is “Consumer profile Entry” you may permit or disallow the customers to edit their profiles when you want this enabled it’s a must to test the field. As soon as you might be performed with the settings you may click on on the Save adjustments button. It will prohibit all of the undesirable customers from accessing your WordPress Dashboard.

Now let’s take a look into how we will restrict the customers by way of .htaccess file from being accessing the WordPress Dashboard.

1) SSH into the server as root or with the person privilege.

# ssh root@IP

or

# ssh person@IP

2) Navigate to the doc root of your WordPress web site and open the .htaccess file along with your favourite textual content editor.

# cd /doc root of your web site/

# vi .htaccess

3) Add the next code in it.

# RewriteEngine on

RewriteCond %REQUEST_URI ^(.*)?wp-admin$ [OR]

RewriteCond %REQUEST_URI ^(.*)?wp-login.php(.*)$

RewriteCond %REMOTE_ADDR !^Your Public IP Deal with$

RewriteRule ^(.*)$ – [R=403,L]

Change the “Your Public IP Deal with” along with your unique Public IP handle which you will get from the hyperlink: http://ip.is.cc/ . Now save the file.

The rule we added will throw a 403 error for the customers who attempt to entry the WordPress dashboard of your Web site.

Therefore we now have discovered how one can restrict the entry to the WordPress dashboard for unknown customers.

 

When you’ve got any doubt relating to this, please do attain our assist division.

 

Leave a Comment