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
- Upload the
login-redirect-by-rolefolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- 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.
ContributorsTranslate “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.
