Remove Dashboard Access

Remove Dashboard Access

Allows you to disable Dashboard access for users of a specific role or capability. Disallowed users are redirected to a chosen URL.
Rating:
4.6
star-rating-1star-rating-2star-rating-3star-rating-4star-rating-5
Active Installations:
40000+
Last Updated:
Nov 30, 2024
WordPress Version:
3.1.0 or higher
Tested up to:
6.7.2

Limit Access to Dashboard

Restrict access to admins only, admins + editors, admins + editors + authors, or specific capability.

Custom Redirect URL

Choose your own URL for users to be redirected to after login.

User Profile Access

Allow users to edit their profiles in the Dashboard while restricting access to other sections.

Personalized Login Message

Display a message on the login screen to provide important information or instructions.

1.2.1 on November 29, 2024

  • Fixed: Compatibility with WordPress 6.7 (there was a warning that translations were being loaded too soon)
  • Tweak: Sanitized admin menu URL

1.2 on January 29, 2024

  • Confirmed compatibility with WordPress 6.4.2
  • New: Added a new filter, rda_allowlist, to configure pages that should be accessible to all users, regardless of their capabilities or roles (see FAQ for usage)
  • Improved: Added a description that clarifies that the Login Message is only displayed on the WordPress “Log In” screen
  • Improved: The User Profile Access text is now a proper label for the checkbox
  • Fixed: Allow access to the Wordfence 2FA configuration page (#33)
  • Fixed: Text domain not properly set for translations (thanks @fierevere)
  • Tweak: Prevent directly accessing PHP files by checking for ABSPATH (#26)
  • Tweak: Prevent browsing directories on poorly-configured servers by adding index.php files in plugin directories

1.1.4 & 1.1.5 on April 18, 2022

Remove Dashboard Access is now being maintained by TrustedLogin! Remove Dashboard Access aligns with what we do at TrustedLogin: simply making WordPress more secure. Email any questions to support@trustedlogin.com.

  • Fixed: Deactivating and activating the plugin will no longer overwrite plugin settings
  • Fixed: Deprecated function screen_icon() warning
  • Fixed: Issue when front-end editing of profiles when the $pagenow global is not defined (#24)
  • Fixed: Potential Invalid argument supplied for foreach() PHP warning (#22)

1.1.3

  • Fixed a compatibility issue with bbPress and the media grid view.

1.1.2

  • Bump tested-up-to to 4.1.0
  • Miscellaneous readme changes.

1.1.1

Bug Fix:

  • Move options back to Settings > Dashboard Access screen to resolve conflict with page_on_front UI.

1.1

Enhancements:

  • Instantiate as a static instance for better modularity
  • Move Dashboard Access Controls settings to Settings > Dashboard Access
  • Add optional login message option
  • Add better settings sanitization
  • New Filter: rda_default_caps_for_role – Filter default roles for Admins, Editors, and Authors
  • New Debug Mode

Bug Fixes:

  • Remove unnecessarily stringent URL mask on the redirect URL option

1.0

  • Complete rewrite!
  • New: Limit dashboard access for Admins only or by capability
  • New: Allow/disallow edit-profile access
  • New: Choose your own redirect URL
  • New Filter: rda_default_access_cap – Change default access capability
  • New Filter: rda_toolbar_nodes – Filter which back-end Toolbar nodes are hidden
  • New Filter: rda_frontend_toolbar_nodes – Filter which front-end Toolbar nodes are hidden

0.4

  • Refined DOING_AJAX check for logged-out users, props @nacin and @BoiteAWeb

0.3

  • Changed cap to manage_options, replaced PHP_SELF with DOING_AJAX

0.2

  • Replaced preg_match with admin-ajax test. Added compatibility with rewritten dashboard URLs.

0.1

  • Submitted to repository

Very important for safety

By dspplug on January 27, 2025

Meddling with htaccess always goes south on me unless I use the old notepad. I rarely have time to. This workaround does the same thing; and is just as good. Now, how do I remove access to wp-login.php altogether?

6/5 stars

Does exactly what it says it will do

By SmileWP (AnotherOpus) on September 28, 2023

Installed, activated, found Settings, set it to allow dashboard for only Admins, Editors, and Authors. Works perfectly right out of the box.

Works Perfectly

By Texoma on August 10, 2023

Works as it says it will.

Fantastic add on to any LearnDash site

By trainingcity on May 25, 2023

This easy addon solved the hassle of how to limit access to profiles for students in our online courses. It plays well with a fairly complex wordpress site using LearnDash and allowed us to create a simple "My Locker Room" home page for students to view their course progress.

Avoid

By lellojello on June 16, 2022

An insidious mess that bricked my entire site as soon as I installed it.

5 Estrellas

By javigandia on March 8, 2022

Muchas gracias por este buenísimo plugin. Muy fácil de utilizar y muy efectivo.

Great help to customize the website use

By Renaat (rsioncke) on November 4, 2021

This plugin helps me to customize the website use with my membership and LMS plugins. Very nicely done.

A must-have!

By unapersona on July 9, 2021

This plugin is a must-have when working with public roles.

Great PLugin

By rusben on January 29, 2021

Great, works perfectly.

Excelent

By eduardomrx on January 25, 2021

Try other plugins too!

Login-Logout

Widget with login, logout, admin and register links. Replacement of the default Meta widget.

Try Demo More Details

Remove Dashboard Access

Allows you to disable Dashboard access for users of a specific role or capability. Disallowed users are redirected to a chosen URL.

Try Demo More Details

Hide My WP Ghost – Security Plugin

Hide WP paths, wp-admin, wp-login, wp-content, plugins, themes, authors, XML-RPC, API, etc. Add 7G Firewall Security, Brute Force protection & more.

Try Demo More Details
Screenshots

Try Remove Dashboard Access With InstaWP

Contact Sales

Reach out to us to explore how InstaWP can benefit your business.