{"id":194266,"date":"2024-06-30T06:47:01","date_gmt":"2024-06-30T06:47:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/redirect-after-logout\/"},"modified":"2025-12-01T15:48:14","modified_gmt":"2025-12-01T15:48:14","slug":"redirect-after-logout","status":"publish","type":"plugin","link":"https:\/\/ssw.wordpress.org\/plugins\/redirect-after-logout\/","author":20983055,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.0","stable_tag":"2.0.0","tested":"6.9.4","requires":"5.6","requires_php":"7.4","requires_plugins":null,"header_name":"Smart Logout Redirect","header_author":"Huzaifa Al Mesbah","header_description":"Redirects the user to a custom URL after logging out of WordPress.","assets_banners_color":"5d58b9","last_updated":"2025-12-01 15:48:14","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.linkedin.com\/in\/huzaifaalmesbah","rating":0,"author_block_rating":0,"active_installs":200,"downloads":2778,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"huzaifaalmesbah","date":"2024-06-30 08:33:04"},"1.0.2":{"tag":"1.0.2","author":"huzaifaalmesbah","date":"2024-10-09 09:31:27"},"1.0.3":{"tag":"1.0.3","author":"huzaifaalmesbah","date":"2024-10-20 20:37:33"},"1.0.4":{"tag":"1.0.4","author":"huzaifaalmesbah","date":"2024-10-30 04:14:55"},"1.0.5":{"tag":"1.0.5","author":"huzaifaalmesbah","date":"2024-12-18 14:23:57"},"1.0.6":{"tag":"1.0.6","author":"huzaifaalmesbah","date":"2024-12-25 02:31:42"},"2.0.0":{"tag":"2.0.0","author":"huzaifaalmesbah","date":"2025-12-01 15:48:14"},"2.0.0-beta1":{"tag":"2.0.0-beta1","author":"huzaifaalmesbah","date":"2025-12-01 15:32:00"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3109866,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3109866,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3109870,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3406976,"resolution":false,"location":"assets","locale":"","contents":"{\"$schema\":\"https:\\\/\\\/playground.wordpress.net\\\/blueprint-schema.json\",\"landingPage\":\"\\\/wp-admin\\\/options-general.php?page=wpral-redirect-settings\",\"features\":{\"networking\":true},\"steps\":[{\"step\":\"login\",\"username\":\"admin\",\"password\":\"password\"},{\"step\":\"installPlugin\",\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"redirect-after-logout\"},\"options\":{\"activate\":true}}]}"}},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","2.0.0","2.0.0-beta1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3172487,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3172487,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"<strong>General Settings:<\/strong> Modern UI to configure default redirect behavior.","2":"<strong>Role-Based Settings:<\/strong> Easily assign different redirect URLs for each user role.","3":"<strong>Searchable Page Selector:<\/strong> Quickly find and select pages for redirection."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[21412,4233,727,173018,126737],"plugin_category":[38,43],"plugin_contributors":[221881,229002],"plugin_business_model":[],"class_list":["post-194266","plugin","type-plugin","status-publish","hentry","plugin_tags-custom-redirect","plugin_tags-logout","plugin_tags-redirect","plugin_tags-redirect-url","plugin_tags-wordpress-logout","plugin_category-authentication","plugin_category-customization","plugin_contributors-huzaifaalmesbah","plugin_contributors-rejaulalomkhan","plugin_committers-huzaifaalmesbah"],"banners":{"banner":"https:\/\/ps.w.org\/redirect-after-logout\/assets\/banner-772x250.jpg?rev=3109870","banner_2x":"https:\/\/ps.w.org\/redirect-after-logout\/assets\/banner-1544x500.png?rev=3109866","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/redirect-after-logout\/assets\/icon-256x256.png?rev=3109866","icon_2x":"https:\/\/ps.w.org\/redirect-after-logout\/assets\/icon-256x256.png?rev=3109866","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/redirect-after-logout\/assets\/screenshot-1.png?rev=3172487","caption":"<strong>General Settings:<\/strong> Modern UI to configure default redirect behavior."},{"src":"https:\/\/ps.w.org\/redirect-after-logout\/assets\/screenshot-2.png?rev=3172487","caption":"<strong>Role-Based Settings:<\/strong> Easily assign different redirect URLs for each user role."}],"raw_content":"<!--section=description-->\n<p>Smart Logout Redirect is the ultimate solution for managing user redirections after logout in WordPress. Whether you want to redirect users to a custom URL, the home page, or the page they were viewing, this plugin handles it all with ease.<\/p>\n\n<p>Now featuring a <strong>modern React-based interface<\/strong>, <strong>Role-Based Redirection<\/strong>, and a <strong>Searchable Page Selector<\/strong>, it gives you complete control over the logout experience for different user types (Admins, Subscribers, Customers, etc.).<\/p>\n\n<p><strong>Key Features:<\/strong><\/p>\n\n<ul>\n<li><strong>Role-Based Redirection:<\/strong> Set unique redirect URLs for specific user roles (e.g., redirect Admins to the dashboard, Subscribers to a custom page, and Customers to the shop).<\/li>\n<li><strong>Flexible Redirect Options:<\/strong> Choose between:\n\n<ul>\n<li><strong>Home Page:<\/strong> Redirect users to your site's homepage.<\/li>\n<li><strong>Current Page:<\/strong> Keep users on the same page they were viewing.<\/li>\n<li><strong>Custom URL:<\/strong> Enter any internal or external URL.<\/li>\n<li><strong>Select Page:<\/strong> Easily search and select any existing page from your site.<\/li>\n<\/ul><\/li>\n<li><strong>Modern Settings UI:<\/strong> A clean, fast, and user-friendly interface built with React.<\/li>\n<li><strong>Safe Redirect:<\/strong> Optional security feature to restrict redirects to your own domain only.<\/li>\n<li><strong>Lightweight &amp; Fast:<\/strong> Optimized for performance with background data loading.<\/li>\n<li><strong>Translation Ready:<\/strong> Fully compatible with translation plugins.<\/li>\n<\/ul>\n\n<h3>Why Choose Smart Logout Redirect?<\/h3>\n\n<ol>\n<li><p><strong>Complete Control:<\/strong>\nDon't settle for default WordPress behavior. Customize the logout flow to enhance user experience, guide users to special offers, or simply say \"Goodbye\" on a custom page.<\/p><\/li>\n<li><p><strong>Role-Specific Logic:<\/strong>\nPerfect for membership sites, WooCommerce stores, or multi-author blogs. tailored the experience based on who is logging out.<\/p><\/li>\n<li><p><strong>Easy Configuration:<\/strong>\nNo coding needed! The intuitive sidebar layout and searchable dropdowns make setup a breeze.<\/p><\/li>\n<li><p><strong>Secure &amp; Reliable:<\/strong>\nBuilt with security in mind, including a \"Safe Redirect\" option to prevent open redirect vulnerabilities.<\/p><\/li>\n<\/ol>\n\n<h3>Check out our other Plugins<\/h3>\n\n<ul>\n<li><strong><a href=\"https:\/\/wordpress.org\/plugins\/smart-password-protect\/\">Smart Password Protect<\/a><\/strong> - Secure your WordPress site with password protection and IP whitelisting.<\/li>\n<li><strong><a href=\"https:\/\/wordpress.org\/plugins\/random-quote\/\">Random Quote<\/a><\/strong> - Display a random quote on your site to inspire visitors.<\/li>\n<li><strong><a href=\"https:\/\/wordpress.org\/plugins\/redirect-after-logout\/\">Redirect After Logout<\/a><\/strong> - Redirect users to a custom page after logging out for enhanced user experience.<\/li>\n<li><strong><a href=\"https:\/\/wordpress.org\/plugins\/product-spotlight-badge\/\">Product Spotlight Badge<\/a><\/strong> - Highlight special products with a customizable spotlight badge on your WooCommerce store.<\/li>\n<li><strong><a href=\"https:\/\/wordpress.org\/plugins\/user-first-kit\/\">User First Kit<\/a><\/strong> - Enhance your site's user experience with a toolkit designed to prioritize user engagement and interaction.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<h4>Plugin Installation Method:<\/h4>\n\n<ol>\n<li>Go to the WordPress dashboard.<\/li>\n<li>Navigate to <strong>Plugins &gt; Add New<\/strong>.<\/li>\n<li>Search for \"Redirect After Logout\".<\/li>\n<li>Click on the <strong>Install<\/strong> button.<\/li>\n<li>Activate the plugin after installation.<\/li>\n<\/ol>\n\n<h4>Installation via Zip File:<\/h4>\n\n<ol>\n<li>Download the <strong>Redirect After Logout<\/strong> plugin zip file.<\/li>\n<li>Go to <strong>Plugins &gt; Add New &gt; Upload Plugin<\/strong>.<\/li>\n<li>Upload <code>redirect-after-logout.zip<\/code> and click <strong>Install<\/strong>.<\/li>\n<li>Activate the plugin once installation is complete.<\/li>\n<\/ol>\n\n<h4>Plugin Configuration:<\/h4>\n\n<ol>\n<li>Navigate to <strong>Settings &gt; Logout Redirect<\/strong>.<\/li>\n<li><strong>General Settings:<\/strong> Choose your default redirect behavior (Home, Current Page, or Custom).<\/li>\n<li><strong>Role-Based Redirection:<\/strong> Switch to the \"Role-Based Redirection\" tab to set specific rules for each user role.<\/li>\n<li>Click <strong>Save Settings<\/strong>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20does%20role-based%20redirection%20work%3F'><h3>How does Role-Based Redirection work?<\/h3><\/dt>\n<dd><p>In the \"Role-Based Redirection\" tab, you will see a list of all user roles on your site. You can assign a specific redirect URL or page for each role. If a role has no specific rule set, the \"General Settings\" rule will apply.<\/p><\/dd>\n<dt id='can%20i%20redirect%20to%20an%20external%20website%3F'><h3>Can I redirect to an external website?<\/h3><\/dt>\n<dd><p>Yes! Select \"Custom Redirect\" and enter the full URL (e.g., <code>https:\/\/google.com<\/code>). If \"Safe Redirect\" is enabled, external redirects will be blocked for security.<\/p><\/dd>\n<dt id='what%20happens%20if%20i%20leave%20the%20settings%20blank%3F'><h3>What happens if I leave the settings blank?<\/h3><\/dt>\n<dd><p>If no redirect is configured, users will see the default WordPress logout screen.<\/p><\/dd>\n<dt id='is%20it%20compatible%20with%20woocommerce%3F'><h3>Is it compatible with WooCommerce?<\/h3><\/dt>\n<dd><p>Yes, it works perfectly with WooCommerce. You can redirect \"Customer\" and \"Shop Manager\" roles to specific shop pages or their account dashboard.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Feature: Modern React-based settings page for a better user experience.<\/li>\n<li>Feature: Added role-based redirection.<\/li>\n<li>Feature: Added options to redirect to Home Page or Current Page.<\/li>\n<li>Feature: Searchable page selector for easier configuration.<\/li>\n<li>Feature: New sidebar layout with \"General\" and \"Role-Based\" tabs.<\/li>\n<li>Feature: Background data loading for improved performance.<\/li>\n<li>Compatibility: Tested up to WordPress 6.9.<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Added translation support for better internationalization<\/li>\n<li>Improved language file loading<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Improved translation loading reliability<\/li>\n<li>Fixed internationalization loading issues<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Removed Appsero SDK.<\/li>\n<li>Removed composer.json from production.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Integrated Appsero SDK for optional telemetry data collection.<\/li>\n<li>Organized and updated the readme file for better clarity and structure.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Version update (Tested up to WordPress 6.6.2).<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added settings page for customizing the redirect URL.<\/li>\n<li>Added an option to choose whether the redirect should be limited to your site (safe redirect) or allow any URL.<\/li>\n<li>Improved security and adherence to WordPress coding standards.<\/li>\n<li>Added translation support.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"A simple plugin to redirect users to a custom URL after they log out of WordPress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/194266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=194266"}],"author":[{"embeddable":true,"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/huzaifaalmesbah"}],"wp:attachment":[{"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=194266"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=194266"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=194266"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=194266"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=194266"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=194266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}