=== Role Based Redirect === Contributors: yasirkhalifa Tags: User, Role, Redirection, Admin Bar, After Login, Hide Admin Bar, Restrict Dashboard, Logout, Login Donate link: https://myasark.wordpress.com/ Requires at least: 4.0 Tested up to: 6.9 Requires PHP: 5.6 Stable tag: 1.6 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Redirect users to a specific page after login/logout based on their role. Optionally hide the admin bar and restrict dashboard access for selected roles. == Description == 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 == 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. == Frequently Asked Questions == = 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. == Screenshots == 1. Plugin settings page where you can configure redirection and access options by role. == Changelog == = 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. == Upgrade Notice == = 1.6 = Recommended update for better compatibility, security enhancements, and improved user role handling.