Beginner's Guide for WordPress / Start your WordPress Blog in minutes

How to Limit Dashboard Access in WordPress

Did you ever want to allow user registration on your WordPress site without giving dashboard access? When a user creates an account on a WordPress site, they get access to the WordPress admin area also known as the dashboard. In this article, we will show you how to limit dashboard access in WordPress.

Why Limit Dashboard Access?

Only users you trust should have access to the admin area of your WordPress site. If you are running a multi-author blog, then you may want to give access to editors and contributors but not to subscribers.

Even when you are giving some users access to the admin area, you can still control what they can or cannot see on the dashboard. We will discuss this later in the article.

Limiting Dashboard Access in WordPress

First thing you need to do is install and activate the Remove Dashboard Access plugin. Upon activation, you need to go to Settings » Dashboard Access to configure the plugin.

Configuring Limit Dashboard Access plugin

Remove Dashboard Access plugin allows you to choose user roles that can get access to the dashboard. You can choose administrators, editors and administrators, or authors, editors, and administrators.

Alternatively, you can also limit access by capability. Capabilities are the actions a user can do on your WordPress site. To understand user roles and capabilities in WordPress, check out our guide on how to add or remove capabilities from user roles in WordPress.

The next option is to choose a redirect URL. This option allows you to redirect disallowed users to any page on your website.

If you want to allow users to edit their profiles, then you need to check the box next to user profile access. Selecting this option will disable the URL redirect feature. The plugin will redirect disallowed users to profile edit screen instead of redirect URL you entered earlier.

Once you are satisfied, click on the save changes button to store your settings.

That’s all. Now only users with your selected user role or capability can access the WordPress dashboard.

Hiding Items from Admin Area in WordPress

Sometimes you may want to restrict what a user sees or can edit in your WordPress admin area.

You can hide and control what users can see in the admin area of your WordPress site. Simply check out our guide on how to hide unnecessary items from WordPress admin with Adminimize.

Protecting WordPress Admin Directory with .htaccess

Another way to protect WordPress admin directory is by adding another layer of password protection. This method asks users to provide a username and password before they can enter wp-admin directory.

This method does not offer a user interface to control which users can access the admin area. However, it is generally considered more secure. If you are the only author on your site or have a very limited set of users use this method.

Checkout our detailed tutorial on how to password protect your WordPress wp-admin directory.

We hope this article helped you limit dashboard access on your WordPress site.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Google+.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit – a collection of WordPress related products and resources that every professional should have!

Reader Interactions

4 CommentsLeave a Reply

  1. i want to block accesss to the dashboard but in the same time allow frontend editing with visual composer only, please i need help. thanks

  2. Hi,

    The plugin you refer is ‘out of date’.

    I need to hide the dashboard and all plugin content from Author as I only want then to be able to see and edit their own post.

    Also, when an author has opened their posts to edit, they can also see below, plugins such as yoast.

    How do I hide these so the author cannot edit these?

    Is this possible?

    Many Thanks

  3. Any suggestion for me to do this without plugin ?

    I’ve found some code with DOING_AJAX, but i lost capabilities for my member on front end posting. I just need code to redirect non-admin role when access wp-admin.


Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.