Skip to content
WordPress.org

Sardu

  • Themes
  • Plugins
  • News
  • About
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

Login Redirect by role

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Login Redirect by role

By gabberpvc
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

Login Redirect by role gives you full control over your users’ experience after they log in to or out of your WordPress site.

With this plugin, you can:

  • Redirect users on login based on their role: Assign a unique redirect URL for each user role (Administrator, Editor, Subscriber, etc.).
  • Redirect users on logout based on their role: Assign a unique logout redirect URL for each user role.
  • Set default redirects: Define fallback URLs for both login and logout for any role that doesn’t have a specific rule.
  • Receive email notifications: Enable email notifications for the roles you choose. Every time a user with that role logs in, an email will be sent with connection details (IP, date, browser).
  • Customize emails: You can fully customize the subject and body of the notification emails to fit your needs.

It’s a lightweight, secure, and easy-to-configure tool, ideal for membership sites, online stores, or any website that needs to manage user access more efficiently.

By default, the auto-logout feature only works on the public-facing pages of your site. You can enable it for the WordPress admin panel via a new option on the settings page.

Once activated, all options are managed from a single page. You can find it in your WordPress admin panel under Settings > Redirección de Login por Rol.

Installation

  1. Upload the login-redirect-by-role folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Important: To configure the plugin, go to the main WordPress menu Settings > Redirección de Login por Rol. Here you can set up the redirect URLs, email notifications, and auto-logout times.

FAQ

Where can I find the settings page?

The settings page is located in the main WordPress admin menu, under Settings > Redirección de Login por Rol.

Does auto-logout work in the admin panel?

By default, it is disabled to prevent administrators from being logged out accidentally while working. You can enable it by checking the box “Activar en Panel de Administración” in the plugin’s settings page.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Login Redirect by role” is open source software. The following people have contributed to this plugin.

Contributors
  • gabberpvc

Translate “Login Redirect by role” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.3.4

  • Enhancement: Added auto-logout time configuration for specific users.
  • Fix: Improved sanitization for user-specific settings.

1.3.3

  • New Feature: Added ability to set redirect rules, email notifications, and auto-logout times for specific users.
  • i18n: Added text domain loading for translations.

1.3.1

  • Enhancement: Added an option to enable the auto-logout feature in the WordPress admin panel.
  • Fix: The auto-logout script now loads correctly in the admin panel when activated.

1.3.0

  • New Feature: Added logout redirection. Users can now be redirected to a specific URL upon logging out.
  • New Feature: Added a default logout redirect URL and role-specific logout redirect URLs.
  • Enhancement: Improved the settings page layout with clearer labels for login and logout fields.
  • Enhancement: Re-structured the code for better readability and maintenance.

1.2.2

  • Initial public release on the WordPress.org repository.

Meta

  • Version 1.3.4
  • Last updated 2 days ago
  • Active installations Fewer than 10
  • WordPress version 5.2 or higher
  • Tested up to 6.8.5
  • PHP version 7.2 or higher
  • Language
    English (US)
  • Tags
    loginlogoutnotificationredirectrole
  • Advanced View

Ratings

No reviews have been submitted yet.

Your review

See all reviews

Contributors

  • gabberpvc

Support

Got something to say? Need help?

View support forum

Donate

Would you like to support the advancement of this plugin?

Donate to this plugin

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Sardu

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry.
The WordPress® trademark is the intellectual property of the WordPress Foundation.