描述
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.
安装
- Upload the
role-based-redirectfolder 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.
常见问题
-
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.
评价
2025 年 8 月 25 日
Highly recommended for anyone running multi-role WordPress sites!
2025 年 8 月 11 日
This plugin works smoothly and efficiently, delivering quick redirections without any noticeable delays. It handles user role assignments seamlessly, ensuring a consistent and reliable experience for all visitors. Even with multiple user roles and frequent logins, it continues to perform steadily, making it a trustworthy choice for websites that value both speed and reliability.
2022 年 11 月 28 日
for role base redirection it work nicely
2022 年 7 月 20 日
Once installed and running this is a great plugin. Simple and easy to configure, would definitely recommend it for projects.
2022 年 2 月 13 日
Hello: Thank You For Making This Plugin – Works Perfectly
2022 年 2 月 4 日
this plugin overcome 301 error
贡献者及开发者
更新日志
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.

