Beskrivning
Role Based Redirect allows you to customize the login and logout redirection URLs based on user roles. Additionally, you can:
- Redirect users after login based on their role.
- Redirect users after logout based on their role.
- Hide the WordPress admin bar for selected user roles.
- Restrict dashboard access by user role.
This plugin is useful for membership sites, multi-role websites, or any WordPress setup where you want to provide a tailored user experience.
Installation
- Upload the
role-based-redirect
folder to the/wp-content/plugins/
directory. - Activate the plugin through the ’Plugins’ menu in WordPress.
- Go to the Users Redirect menu in the WordPress admin sidebar to configure redirection and role-based options.
Vanliga frågor
-
Can I redirect users after logout?
-
Yes, you can set both login and logout redirection URLs for each role.
-
Can I restrict dashboard access for certain roles?
-
Yes, the plugin lets you prevent access to the WordPress dashboard for selected roles.
-
Will this work with custom roles?
-
Yes, it works with all user roles including custom ones.
Recensioner
Bidragsgivare och utvecklare
”Role Based Redirect” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”Role Based Redirect” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.6
- Tested with latest WordPress version 6.3.
- Code cleanup and security enhancements.
- Improved role handling and compatibility with custom roles.
1.5
- Localization support added.
1.4
- Minor bug fix.
1.3
- Minor bug fix.
1.2
- Removed CSS conflict.
1.1
- Minor changes for WordPress 5.0.1 compatibility.
1.0
- Initial release.