{"id":88870,"date":"2018-07-20T03:58:50","date_gmt":"2018-07-20T03:58:50","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/role-based-redirect\/"},"modified":"2025-07-18T04:36:20","modified_gmt":"2025-07-18T04:36:20","slug":"role-based-redirect","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/role-based-redirect\/","author":16284474,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.6","stable_tag":"trunk","tested":"6.9.4","requires":"4.0","requires_php":"5.6","requires_plugins":null,"header_name":"Role Based Redirect","header_author":"MohammedYasar Khalifa","header_description":"Redirect users to specific page after login, based on their the role and also option for hide adminbar and restrict dashboard access.","assets_banners_color":"11165e","last_updated":"2025-07-18 04:36:20","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/myasark.wordpress.com\/","header_plugin_uri":"","header_author_uri":"https:\/\/myasark.wordpress.com\/","rating":4.8,"author_block_rating":0,"active_installs":2000,"downloads":24979,"num_ratings":17,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"yasirkhalifa","date":"2018-12-18 17:09:24"},"1.1":{"tag":"1.1","author":"yasirkhalifa","date":"2020-12-02 17:48:16"},"1.2":{"tag":"1.2","author":"yasirkhalifa","date":"2020-12-02 17:49:07"},"1.3":{"tag":"1.3","author":"yasirkhalifa","date":"2022-01-29 10:00:59"},"1.4":{"tag":"1.4","author":"yasirkhalifa","date":"2023-07-26 08:47:01"},"1.5":{"tag":"1.5","author":"yasirkhalifa","date":"2025-05-27 10:46:11"}},"upgrade_notice":{"1.6":"<p>Recommended update for better compatibility, security enhancements, and improved user role handling.<\/p>"},"ratings":{"1":1,"2":0,"3":0,"4":0,"5":16},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3497368,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3497368,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.5"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3497369,"resolution":"1","location":"plugin"}},"screenshots":{"1":"Plugin settings page where you can configure redirection and access options by role."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3725,925,53954,3710,2153],"plugin_category":[],"plugin_contributors":[159497],"plugin_business_model":[],"class_list":["post-88870","plugin","type-plugin","status-publish","hentry","plugin_tags-hide-admin-bar","plugin_tags-redirection","plugin_tags-restrict-dashboard","plugin_tags-role","plugin_tags-user","plugin_contributors-yasirkhalifa","plugin_committers-yasirkhalifa"],"banners":{"banner":"https:\/\/ps.w.org\/role-based-redirect\/assets\/banner-772x250.png?rev=3497368","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/role-based-redirect\/assets\/icon-128x128.png?rev=3497368","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/role-based-redirect\/trunk\/screenshot-1.jpg?rev=3497369","caption":"Plugin settings page where you can configure redirection and access options by role."}],"raw_content":"<!--section=description-->\n<p>Role Based Redirect allows you to customize the login and logout redirection URLs based on user roles. Additionally, you can:<\/p>\n\n<ul>\n<li>Redirect users after login based on their role.<\/li>\n<li>Redirect users after logout based on their role.<\/li>\n<li>Hide the WordPress admin bar for selected user roles.<\/li>\n<li>Restrict dashboard access by user role.<\/li>\n<\/ul>\n\n<p>This plugin is useful for membership sites, multi-role websites, or any WordPress setup where you want to provide a tailored user experience.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>role-based-redirect<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Go to the <strong>Users Redirect<\/strong> menu in the WordPress admin sidebar to configure redirection and role-based options.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20i%20redirect%20users%20after%20logout%3F\"><h3>Can I redirect users after logout?<\/h3><\/dt>\n<dd><p>Yes, you can set both login and logout redirection URLs for each role.<\/p><\/dd>\n<dt id=\"can%20i%20restrict%20dashboard%20access%20for%20certain%20roles%3F\"><h3>Can I restrict dashboard access for certain roles?<\/h3><\/dt>\n<dd><p>Yes, the plugin lets you prevent access to the WordPress dashboard for selected roles.<\/p><\/dd>\n<dt id=\"will%20this%20work%20with%20custom%20roles%3F\"><h3>Will this work with custom roles?<\/h3><\/dt>\n<dd><p>Yes, it works with all user roles including custom ones.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.6<\/h4>\n\n<ul>\n<li>Tested with latest WordPress version 6.3.<\/li>\n<li>Code cleanup and security enhancements.<\/li>\n<li>Improved role handling and compatibility with custom roles.<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Localization support added.<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Minor bug fix.<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Minor bug fix.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Removed CSS conflict.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Minor changes for WordPress 5.0.1 compatibility.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Redirect users after login\/logout by role. Optionally hide admin bar and block dashboard access for selected roles.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/88870","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=88870"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/yasirkhalifa"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=88870"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=88870"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=88870"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=88870"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=88870"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=88870"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}