{"id":257491,"date":"2025-10-21T20:36:27","date_gmt":"2025-10-21T20:36:27","guid":{"rendered":"https:\/\/es.wordpress.org\/plugins\/login-redirect-by-role\/"},"modified":"2026-04-12T16:25:10","modified_gmt":"2026-04-12T16:25:10","slug":"login-redirect-by-role","status":"publish","type":"plugin","link":"https:\/\/srd.wordpress.org\/plugins\/login-redirect-by-role\/","author":23387484,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.3.4","stable_tag":"1.3.4","tested":"6.8.5","requires":"5.2","requires_php":"7.2","requires_plugins":null,"header_name":"Login Redirect by role","header_author":"gabberpvc","header_description":"Redirige a los usuarios a una p\u00e1gina espec\u00edficada seg\u00fan rol despu\u00e9s de iniciar sesi\u00f3n, tambi\u00e9n env\u00eda un email de notificaci\u00f3n.","assets_banners_color":"968d93","last_updated":"2026-04-12 16:25:10","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/donate\/?hosted_button_id=HWHU9KHXTMVGN","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":276,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.2.2":{"tag":"1.2.2","author":"gabberpvc","date":"2025-10-21 20:36:17"},"1.3.0":{"tag":"1.3.0","author":"gabberpvc","date":"2025-10-25 16:54:28"},"1.3.4":{"tag":"1.3.4","author":"gabberpvc","date":"2026-04-12 16:25:10"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3382394,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3382397,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2.2","1.3.0","1.3.4"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Main settings page. Here you can configure the default redirect URLs and for each user role.","2":"Role-specific settings. Configure login and logout redirect URLs for each role.","3":"Email notification settings. Customize the subject and body of the email sent upon login.","4":"Example of the checkbox to enable notifications by role. Each role has its own URL and its option to activate the email."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[602,4233,1159,727,3710],"plugin_category":[38,54],"plugin_contributors":[249528],"plugin_business_model":[],"class_list":["post-257491","plugin","type-plugin","status-publish","hentry","plugin_tags-login","plugin_tags-logout","plugin_tags-notification","plugin_tags-redirect","plugin_tags-role","plugin_category-authentication","plugin_category-security-and-spam-protection","plugin_contributors-gabberpvc","plugin_committers-gabberpvc"],"banners":{"banner":"https:\/\/ps.w.org\/login-redirect-by-role\/assets\/banner-772x250.png?rev=3382397","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/login-redirect-by-role\/assets\/icon-256x256.png?rev=3382394","icon_2x":"https:\/\/ps.w.org\/login-redirect-by-role\/assets\/icon-256x256.png?rev=3382394","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Login Redirect by role<\/strong> gives you full control over your users' experience after they log in to or out of your WordPress site.<\/p>\n\n<p>With this plugin, you can:<\/p>\n\n<ul>\n<li><strong>Redirect users on login based on their role:<\/strong> Assign a unique redirect URL for each user role (Administrator, Editor, Subscriber, etc.).<\/li>\n<li><strong>Redirect users on logout based on their role:<\/strong> Assign a unique logout redirect URL for each user role.<\/li>\n<li><strong>Set default redirects:<\/strong> Define fallback URLs for both login and logout for any role that doesn't have a specific rule.<\/li>\n<li><strong>Receive email notifications:<\/strong> Enable email notifications for the roles you choose. Every time a user with that role logs in, an email will be sent with connection details (IP, date, browser).<\/li>\n<li><strong>Customize emails:<\/strong> You can fully customize the subject and body of the notification emails to fit your needs.<\/li>\n<\/ul>\n\n<p>It's a lightweight, secure, and easy-to-configure tool, ideal for membership sites, online stores, or any website that needs to manage user access more efficiently.<\/p>\n\n<p>By default, the auto-logout feature only works on the public-facing pages of your site. You can enable it for the WordPress admin panel via a new option on the settings page.<\/p>\n\n<p>Once activated, all options are managed from a single page. You can find it in your WordPress admin panel under <strong><code>Settings &gt; Redirecci\u00f3n de Login por Rol<\/code><\/strong>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>login-redirect-by-role<\/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><strong>Important:<\/strong> To configure the plugin, go to the main WordPress menu <strong><code>Settings &gt; Redirecci\u00f3n de Login por Rol<\/code><\/strong>. Here you can set up the redirect URLs, email notifications, and auto-logout times.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"where%20can%20i%20find%20the%20settings%20page%3F\"><h3>Where can I find the settings page?<\/h3><\/dt>\n<dd><p>The settings page is located in the main WordPress admin menu, under <strong><code>Settings &gt; Redirecci\u00f3n de Login por Rol<\/code><\/strong>.<\/p><\/dd>\n<dt id=\"does%20auto-logout%20work%20in%20the%20admin%20panel%3F\"><h3>Does auto-logout work in the admin panel?<\/h3><\/dt>\n<dd><p>By default, it is disabled to prevent administrators from being logged out accidentally while working. You can enable it by checking the box \"Activar en Panel de Administraci\u00f3n\" in the plugin's settings page.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.4<\/h4>\n\n<ul>\n<li><strong>Enhancement<\/strong>: Added auto-logout time configuration for specific users.<\/li>\n<li><strong>Fix<\/strong>: Improved sanitization for user-specific settings.<\/li>\n<\/ul>\n\n<h4>1.3.3<\/h4>\n\n<ul>\n<li><strong>New Feature<\/strong>: Added ability to set redirect rules, email notifications, and auto-logout times for specific users.<\/li>\n<li><strong>i18n<\/strong>: Added text domain loading for translations.<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li><strong>Enhancement<\/strong>: Added an option to enable the auto-logout feature in the WordPress admin panel.<\/li>\n<li><strong>Fix<\/strong>: The auto-logout script now loads correctly in the admin panel when activated.<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li><strong>New Feature<\/strong>: Added logout redirection. Users can now be redirected to a specific URL upon logging out.<\/li>\n<li><strong>New Feature<\/strong>: Added a default logout redirect URL and role-specific logout redirect URLs.<\/li>\n<li><strong>Enhancement<\/strong>: Improved the settings page layout with clearer labels for login and logout fields.<\/li>\n<li><strong>Enhancement<\/strong>: Re-structured the code for better readability and maintenance.<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Initial public release on the WordPress.org repository.<\/li>\n<\/ul>","raw_excerpt":"Redirects users to a specific page based on their role after logging in or out and sends email notifications.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/257491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=257491"}],"author":[{"embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/gabberpvc"}],"wp:attachment":[{"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=257491"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=257491"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=257491"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=257491"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=257491"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/srd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=257491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}