Title: Smart Logout Redirect
Author: Huzaifa Al Mesbah
Published: <strong>30, Xunu de 2024</strong>
Last modified: 1, Avientu de 2025

---

Guetar plugins

![](https://ps.w.org/redirect-after-logout/assets/banner-772x250.jpg?rev=3109870)

![](https://ps.w.org/redirect-after-logout/assets/icon-256x256.png?rev=3109866)

# Smart Logout Redirect

 By [Huzaifa Al Mesbah](https://profiles.wordpress.org/huzaifaalmesbah/)

[Download](https://downloads.wordpress.org/plugin/redirect-after-logout.2.0.0.zip)

[Live Preview](https://ast.wordpress.org/plugins/redirect-after-logout/?preview=1)

 * [Details](https://ast.wordpress.org/plugins/redirect-after-logout/#description)
 * [Reviews](https://ast.wordpress.org/plugins/redirect-after-logout/#reviews)
 *  [Installation](https://ast.wordpress.org/plugins/redirect-after-logout/#installation)
 * [Development](https://ast.wordpress.org/plugins/redirect-after-logout/#developers)

 [Support](https://wordpress.org/support/plugin/redirect-after-logout/)

## Description

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.

Now featuring a **modern React-based interface**, **Role-Based Redirection**, and
a **Searchable Page Selector**, it gives you complete control over the logout experience
for different user types (Admins, Subscribers, Customers, etc.).

**Key Features:**

 * **Role-Based Redirection:** 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).
 * **Flexible Redirect Options:** Choose between:
    - **Home Page:** Redirect users to your site’s homepage.
    - **Current Page:** Keep users on the same page they were viewing.
    - **Custom URL:** Enter any internal or external URL.
    - **Select Page:** Easily search and select any existing page from your site.
 * **Modern Settings UI:** A clean, fast, and user-friendly interface built with
   React.
 * **Safe Redirect:** Optional security feature to restrict redirects to your own
   domain only.
 * **Lightweight & Fast:** Optimized for performance with background data loading.
 * **Translation Ready:** Fully compatible with translation plugins.

### Why Choose Smart Logout Redirect?

 1. **Complete Control:**
     Don’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.
 2. **Role-Specific Logic:**
     Perfect for membership sites, WooCommerce stores, or 
    multi-author blogs. tailored the experience based on who is logging out.
 3. **Easy Configuration:**
     No coding needed! The intuitive sidebar layout and searchable
    dropdowns make setup a breeze.
 4. **Secure & Reliable:**
     Built with security in mind, including a “Safe Redirect”
    option to prevent open redirect vulnerabilities.

### Check out our other Plugins

 * **[Smart Password Protect](https://wordpress.org/plugins/smart-password-protect/)**–
   Secure your WordPress site with password protection and IP whitelisting.
 * **[Random Quote](https://wordpress.org/plugins/random-quote/)** – Display a random
   quote on your site to inspire visitors.
 * **[Redirect After Logout](https://wordpress.org/plugins/redirect-after-logout/)**–
   Redirect users to a custom page after logging out for enhanced user experience.
 * **[Product Spotlight Badge](https://wordpress.org/plugins/product-spotlight-badge/)**–
   Highlight special products with a customizable spotlight badge on your WooCommerce
   store.
 * **[User First Kit](https://wordpress.org/plugins/user-first-kit/)** – Enhance
   your site’s user experience with a toolkit designed to prioritize user engagement
   and interaction.

## Screenshots

 * [[
 * **General Settings:** Modern UI to configure default redirect behavior.
 * [[
 * **Role-Based Settings:** Easily assign different redirect URLs for each user 
   role.

## Installation

#### Plugin Installation Method:

 1. Go to the WordPress dashboard.
 2. Navigate to **Plugins > Add New**.
 3. Search for “Redirect After Logout”.
 4. Click on the **Install** button.
 5. Activate the plugin after installation.

#### Installation via Zip File:

 1. Download the **Redirect After Logout** plugin zip file.
 2. Go to **Plugins > Add New > Upload Plugin**.
 3. Upload `redirect-after-logout.zip` and click **Install**.
 4. Activate the plugin once installation is complete.

#### Plugin Configuration:

 1. Navigate to **Settings > Logout Redirect**.
 2. **General Settings:** Choose your default redirect behavior (Home, Current Page,
    or Custom).
 3. **Role-Based Redirection:** Switch to the “Role-Based Redirection” tab to set specific
    rules for each user role.
 4. Click **Save Settings**.

## FAQ

### How does Role-Based Redirection work?

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.

### Can I redirect to an external website?

Yes! Select “Custom Redirect” and enter the full URL (e.g., `https://google.com`).
If “Safe Redirect” is enabled, external redirects will be blocked for security.

### What happens if I leave the settings blank?

If no redirect is configured, users will see the default WordPress logout screen.

### Is it compatible with WooCommerce?

Yes, it works perfectly with WooCommerce. You can redirect “Customer” and “Shop 
Manager” roles to specific shop pages or their account dashboard.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Smart Logout Redirect” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Huzaifa Al Mesbah ](https://profiles.wordpress.org/huzaifaalmesbah/)
 *   [ Rejaul Alom Khan ](https://profiles.wordpress.org/rejaulalomkhan/)

“Smart Logout Redirect” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/redirect-after-logout/contributors)
for their contributions.

[Translate “Smart Logout Redirect” into your language.](https://translate.wordpress.org/projects/wp-plugins/redirect-after-logout)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/redirect-after-logout/),
check out the [SVN repository](https://plugins.svn.wordpress.org/redirect-after-logout/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/redirect-after-logout/)
by [RSS](https://plugins.trac.wordpress.org/log/redirect-after-logout/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.0.0

 * Feature: Modern React-based settings page for a better user experience.
 * Feature: Added role-based redirection.
 * Feature: Added options to redirect to Home Page or Current Page.
 * Feature: Searchable page selector for easier configuration.
 * Feature: New sidebar layout with “General” and “Role-Based” tabs.
 * Feature: Background data loading for improved performance.
 * Compatibility: Tested up to WordPress 6.9.

#### 1.0.6

 * Added translation support for better internationalization
 * Improved language file loading

#### 1.0.5

 * Improved translation loading reliability
 * Fixed internationalization loading issues

#### 1.0.4

 * Removed Appsero SDK.
 * Removed composer.json from production.

#### 1.0.3

 * Integrated Appsero SDK for optional telemetry data collection.
 * Organized and updated the readme file for better clarity and structure.

#### 1.0.2

 * Version update (Tested up to WordPress 6.6.2).

#### 1.0.1

 * Added settings page for customizing the redirect URL.
 * Added an option to choose whether the redirect should be limited to your site(
   safe redirect) or allow any URL.
 * Improved security and adherence to WordPress coding standards.
 * Added translation support.

#### 1.0

 * Initial release.

## Meta

 *  Version **2.0.0**
 *  Last updated **5 meses ago**
 *  Active installations **200+**
 *  WordPress version ** 5.6 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/redirect-after-logout/) y [French (France)](https://fr.wordpress.org/plugins/redirect-after-logout/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/redirect-after-logout)
 * Tags
 * [custom redirect](https://ast.wordpress.org/plugins/tags/custom-redirect/)[logout](https://ast.wordpress.org/plugins/tags/logout/)
   [redirect](https://ast.wordpress.org/plugins/tags/redirect/)[redirect url](https://ast.wordpress.org/plugins/tags/redirect-url/)
   [wordpress logout](https://ast.wordpress.org/plugins/tags/wordpress-logout/)
 *  [Advanced View](https://ast.wordpress.org/plugins/redirect-after-logout/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/redirect-after-logout/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/redirect-after-logout/reviews/)

## Contributors

 *   [ Huzaifa Al Mesbah ](https://profiles.wordpress.org/huzaifaalmesbah/)
 *   [ Rejaul Alom Khan ](https://profiles.wordpress.org/rejaulalomkhan/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/redirect-after-logout/)