{"id":254211,"date":"2025-10-06T15:50:33","date_gmt":"2025-10-06T15:50:33","guid":{"rendered":"https:\/\/en-gb.wordpress.org\/plugins\/smart-role-login-redirects\/"},"modified":"2025-10-06T17:05:22","modified_gmt":"2025-10-06T17:05:22","slug":"smart-role-login-redirects","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/smart-role-login-redirects\/","author":23374132,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.1","tested":"6.8.5","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Smart Role Login Redirects","header_author":"Your Name","header_description":"Redirect users to specific pages after login based on their user role.","assets_banners_color":"","last_updated":"2025-10-06 17:05:22","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":712,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"aryantech","date":"2025-10-06 17:05:22"},"1.0.1":{"tag":"1.0.1","author":"aryantech","date":"2025-10-06 19:56:03"}},"upgrade_notice":{"1.0.0":"<p>Initial release of Smart Role Login Redirects. Install to start redirecting users based on their roles!<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Settings Page - Simple and intuitive settings interface","2":"Role Configuration - Set redirect URLs for each user role","3":"URL Examples - Helpful examples of valid redirect URLs","4":"Success Message - Confirmation when settings are saved","5":"Plugin Activation - Easy activation from the plugins page"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[602,1932,727,11917,286],"plugin_category":[38,45,58],"plugin_contributors":[248838],"plugin_business_model":[],"class_list":["post-254211","plugin","type-plugin","status-publish","hentry","plugin_tags-login","plugin_tags-membership","plugin_tags-redirect","plugin_tags-user-roles","plugin_tags-woocommerce","plugin_category-authentication","plugin_category-ecommerce","plugin_category-user-management","plugin_contributors-aryantech","plugin_committers-aryantech"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/smart-role-login-redirects.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Role-based login redirects for WordPress.<\/p>\n\n<h4>Key Features<\/h4>\n\n<p>\ud83c\udfaf Role-Specific Redirects - Set unique redirect URLs for each WordPress role<br \/>\n\ud83d\ude80 Lightweight &amp; Fast - Minimal impact on site performance<br \/>\n\ud83c\udfa8 Simple Admin Interface - Easy-to-use settings page in WordPress admin<br \/>\n\ud83d\udd12 Secure - Validates all redirect URLs for security<br \/>\n\ud83c\udf10 Works with Default Roles - Administrator, Editor, Author, Contributor, Subscriber<br \/>\n\ud83d\udd27 Custom Role Compatible - Works with any custom roles added by other plugins<br \/>\n\ud83d\udcf1 Fully Responsive - Admin interface works on all devices<br \/>\n\ud83d\udd04 Smart Redirect Logic - Respects existing redirect_to parameters<br \/>\n\u26a1 No Dependencies - Works out of the box with any WordPress installation<\/p>\n\n<h4>Use Cases<\/h4>\n\n<ul>\n<li>Membership Sites - Send members to their dashboard, non-members to upgrade page  <\/li>\n<li>Multi-Author Blogs - Direct authors to post editor, editors to moderation queue  <\/li>\n<li>Client Portals - Route clients to their project pages  <\/li>\n<li>Educational Sites - Send students to course materials, instructors to grade book  <\/li>\n<li>eCommerce - Direct customers to account page, shop managers to orders  <\/li>\n<\/ul>\n\n<h4>How It Works<\/h4>\n\n<ol>\n<li>Install and activate the plugin  <\/li>\n<li>Go to Settings \u2192 Login Redirects  <\/li>\n<li>Enter redirect URLs for each user role  <\/li>\n<li>Save your settings  <\/li>\n<li>Users are automatically redirected based on their role when they log in  <\/li>\n<\/ol>\n\n<h4>Examples of Redirect URLs<\/h4>\n\n<ul>\n<li>Homepage: https:\/\/yoursite.com\/  <\/li>\n<li>Custom Dashboard: https:\/\/yoursite.com\/dashboard\/  <\/li>\n<li>Admin Area: https:\/\/yoursite.com\/wp-admin\/  <\/li>\n<li>Specific Page: https:\/\/yoursite.com\/members-only\/  <\/li>\n<li>Profile Page: https:\/\/yoursite.com\/wp-admin\/profile.php  <\/li>\n<\/ul>\n\n<h4>Pro Tips<\/h4>\n\n<ul>\n<li>Leave a role's redirect URL empty to use WordPress default behavior  <\/li>\n<li>The plugin respects WooCommerce checkout redirects  <\/li>\n<li>Works seamlessly with other login plugins  <\/li>\n<li>Primary role is used for users with multiple roles<\/li>\n<\/ul>\n\n<h3>Additional Information<\/h3>\n\n<p>= Support =\nFor support, feature requests, or bug reports, please visit our support forum or GitHub repository.<\/p>\n\n<h4>Contributing<\/h4>\n\n<p>We welcome contributions! Please feel free to submit pull requests, report bugs, or suggest features on our GitHub repository.<\/p>\n\n<h4>Privacy<\/h4>\n\n<p>This plugin does not collect any personal data. It only stores redirect URLs in your WordPress database.<\/p>\n\n<h4>Credits<\/h4>\n\n<p>Developed with \u2764\ufe0f for the WordPress community.<\/p>\n\n<!--section=installation-->\n<h4>Automatic Installation<\/h4>\n\n<ol>\n<li>Log in to your WordPress dashboard  <\/li>\n<li>Navigate to Plugins \u2192 Add New  <\/li>\n<li>Search for \"Smart Role Login Redirects\"  <\/li>\n<li>Click \"Install Now\" and then \"Activate\"  <\/li>\n<li>Go to Settings \u2192 Login Redirects to configure  <\/li>\n<\/ol>\n\n<h4>Manual Installation<\/h4>\n\n<ol>\n<li>Download the plugin ZIP file  <\/li>\n<li>Log in to your WordPress dashboard  <\/li>\n<li>Navigate to Plugins \u2192 Add New  <\/li>\n<li>Click \"Upload Plugin\" and choose the ZIP file  <\/li>\n<li>Click \"Install Now\" and then \"Activate\"  <\/li>\n<li>Go to Settings \u2192 Login Redirects to configure  <\/li>\n<\/ol>\n\n<h4>FTP Installation<\/h4>\n\n<ol>\n<li>Download and extract the plugin ZIP file  <\/li>\n<li>Upload the smart-role-login-redirects folder to \/wp-content\/plugins\/  <\/li>\n<li>Log in to your WordPress dashboard  <\/li>\n<li>Navigate to Plugins and activate \"Smart Role Login Redirects\"  <\/li>\n<li>Go to Settings \u2192 Login Redirects to configure<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20this%20plugin%20work%20with%20custom%20roles%3F'><h3>Does this plugin work with custom roles?<\/h3><\/dt>\n<dd><p>Yes! The plugin automatically detects all roles registered in WordPress, including custom roles added by other plugins or themes.<\/p><\/dd>\n<dt id='what%20happens%20if%20a%20user%20has%20multiple%20roles%3F'><h3>What happens if a user has multiple roles?<\/h3><\/dt>\n<dd><p>The plugin uses the user's primary role (first role in their role array) for determining the redirect URL.<\/p><\/dd>\n<dt id='can%20i%20use%20relative%20urls%3F'><h3>Can I use relative URLs?<\/h3><\/dt>\n<dd><p>Yes, you can use both absolute URLs (https:\/\/yoursite.com\/page\/) and relative URLs (\/page\/).<\/p><\/dd>\n<dt id='will%20this%20override%20woocommerce%20redirects%3F'><h3>Will this override WooCommerce redirects?<\/h3><\/dt>\n<dd><p>No, the plugin respects existing redirect_to parameters. WooCommerce checkout redirects and similar functionality will continue to work normally.<\/p><\/dd>\n<dt id='what%20happens%20if%20i%20don%27t%20set%20a%20redirect%20for%20a%20role%3F'><h3>What happens if I don't set a redirect for a role?<\/h3><\/dt>\n<dd><p>If no redirect URL is set for a role, users with that role will be redirected to the WordPress default location (usually the admin dashboard or profile page).<\/p><\/dd>\n<dt id='is%20the%20plugin%20multisite%20compatible%3F'><h3>Is the plugin multisite compatible?<\/h3><\/dt>\n<dd><p>Yes, the plugin works on multisite installations. Each site in the network can have its own redirect settings.<\/p><\/dd>\n<dt id='can%20i%20redirect%20users%20to%20external%20websites%3F'><h3>Can I redirect users to external websites?<\/h3><\/dt>\n<dd><p>For security reasons, the plugin only allows redirects to your own domain or relative URLs.<\/p><\/dd>\n<dt id='how%20can%20i%20reset%20the%20settings%3F'><h3>How can I reset the settings?<\/h3><\/dt>\n<dd><p>You can clear individual role redirects by removing the URL and saving. To completely reset, deactivate and reactivate the plugin.<\/p><\/dd>\n<dt id='does%20this%20work%20with%20custom%20login%20pages%3F'><h3>Does this work with custom login pages?<\/h3><\/dt>\n<dd><p>Yes, as long as the custom login page uses WordPress's standard authentication hooks (wp_login), the redirects will work.<\/p><\/dd>\n<dt id='will%20this%20slow%20down%20my%20site%3F'><h3>Will this slow down my site?<\/h3><\/dt>\n<dd><p>No, the plugin is very lightweight and only runs during the login process. It has no impact on regular page loads.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release  <\/li>\n<li>Core redirect functionality  <\/li>\n<li>Admin settings page  <\/li>\n<li>Support for all WordPress default roles  <\/li>\n<li>URL validation for security  <\/li>\n<li>Settings link on plugins page  <\/li>\n<li>Activation\/deactivation hooks  <\/li>\n<li>Uninstall cleanup<\/li>\n<\/ul>","raw_excerpt":"Role-based login redirects for WordPress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/254211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=254211"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/aryantech"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=254211"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=254211"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=254211"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=254211"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=254211"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=254211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}