Role Based Redirect

描述

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.

屏幕截图

  • Plugin settings page where you can configure redirection and access options by role.

安装

  1. Upload the role-based-redirect folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. 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 月 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 年 7 月 20 日
Once installed and running this is a great plugin. Simple and easy to configure, would definitely recommend it for projects.
阅读所有17条评价

贡献者及开发者

「Role Based Redirect」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

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.