Title: WP Logout Redirect
Author: HasinHayder
Published: <strong>Morso 12, 2019</strong>
Last modified: Bowte 26, 2025

---

Search plugins

![](https://ps.w.org/wp-logout-redirect/assets/banner-772x250.png?rev=2122310)

![](https://ps.w.org/wp-logout-redirect/assets/icon.svg?rev=2122307)

# WP Logout Redirect

 By [HasinHayder](https://profiles.wordpress.org/hasinhayder/)

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

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

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

## Description

WP Logout Redirect allows you to control where users are redirected after logging
out of your WordPress site. By default, WordPress redirects users to the login page,
but this plugin gives you full control over the logout experience.

Version 2.1 brings a complete UI overhaul, offering a refined, accessible, and developer-
friendly experience.

#### Features

 * **Modern Admin Panel** – A refined, editorial-style interface for easy configuration.
 * **Dark Mode Support** – Automatically adapts to your system’s color scheme.
 * **Accessible Design** – Fully optimized for screen readers and keyboard navigation.
 * **Quick Presets** – One-click settings for Homepage or Login Page redirects.
 * **Page Selector** – Easily pick any of your existing pages from a dropdown.
 * **Developer Friendly** – Programmatically override settings using the `wplr_home_url`
   filter hook.
 * **Lightweight & Secure** – Built with performance and WordPress security standards
   in mind.

#### Usage

After activation, go to **Settings  Logout Redirect** in your WordPress admin panel.

 1. **Manual URL**: Enter any custom URL in the input field.
 2. **Page Selector**: Choose an existing page from the dropdown to automatically fill
    the URL.
 3. **Presets**: Use the “Quick Presets” buttons for common destinations.
 4. **Save**: Click “Save Configuration” to apply changes.

#### Developer Hook

Developers can programmatically override the redirect URL using the `wplr_home_url`
filter hook. This takes precedence over admin settings.

    ```
    add_filter('wplr_home_url', function($url) {
        return 'https://example.com/custom-destination';
    });
    ```

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/wp-logout-redirect` directory,
    or install through the WordPress plugins screen.
 2. Activate the plugin.
 3. Navigate to **Settings  Logout Redirect** to configure your destination.

## FAQ

### Does it support dark mode?

Yes! The admin interface automatically detects your system settings and switches
to a refined dark theme.

### Is it accessible?

Absolutely. We’ve implemented ARIA labels, screen-reader-specific text, and proper
focus states to ensure a great experience for everyone.

### What happens if I leave the URL empty?

If the redirect URL is empty, the plugin will default to your site’s homepage.

### Can I redirect to an external site?

Yes, you can enter any valid absolute URL.

## Reviews

![](https://secure.gravatar.com/avatar/7b84d2a827b6e0ab438cb0798378072f9d64a5104df8ab8f60fc2e2738580721?
s=60&d=retro&r=g)

### 󠀁[Minimalistic and functional](https://wordpress.org/support/topic/minimalistic-and-functional/)󠁿

 [frisno](https://profiles.wordpress.org/frisno/) Duujal 22, 2024

Install, activate and enjoy. Tried on WordPress version: 6.5.3

![](https://secure.gravatar.com/avatar/90cda3c0f411dde11fe514d2b80bc2c28deb2565f105f5d29b66d5d067163e64?
s=60&d=retro&r=g)

### 󠀁[Works like magic!](https://wordpress.org/support/topic/works-like-magic-60/)󠁿

 [malty](https://profiles.wordpress.org/malty/) Yarkomaa 1, 2022

Just install, activate, and voila! Have a good night’s sleep. *wink! (no stress)

![](https://secure.gravatar.com/avatar/6bc90802e953ff037a4ad1cadf571e8eea8b94b6dd6b6472dc22a94b0d663e63?
s=60&d=retro&r=g)

### 󠀁[Perfect!](https://wordpress.org/support/topic/perfect-6477/)󠁿

 [frankbaku](https://profiles.wordpress.org/frankbaku/) Yarkomaa 12, 2019

It saves my time! Thanks!

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/wp-logout-redirect/reviews/)

## Contributors & Developers

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

Contributors

 *   [ HasinHayder ](https://profiles.wordpress.org/hasinhayder/)

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

### Interested in development?

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

## Changelog

#### 2.1

 * Complete UI/UX overhaul with a refined “Editorial” minimalist design.
 * Added native Dark Mode support.
 * Improved Accessibility with ARIA labels and screen-reader support.
 * Added Quick Presets for Homepage and Login page.
 * Integrated Page Selector dropdown for easier configuration.
 * Robust copy-to-clipboard functionality for developer hooks.
 * Updated requirements to WordPress 5.0+ and PHP 7.2+.

#### 2.0

 * Major internal refactoring and performance optimizations.
 * Improved security using `wp_safe_redirect()`.

#### 1.3

 * Added admin settings page under Settings  Logout Redirect.
 * Added URL validation and error messaging.

#### 1.0

 * Initial Release.

## Meta

 *  Version **2.0**
 *  Last updated **4 months ago**
 *  Active installations **400+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.2 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-logout-redirect/)
 * Tags
 * [accessibility](https://fuc.wordpress.org/plugins/tags/accessibility/)[admin](https://fuc.wordpress.org/plugins/tags/admin/)
   [redirection](https://fuc.wordpress.org/plugins/tags/redirection/)[security](https://fuc.wordpress.org/plugins/tags/security/)
   [settings](https://fuc.wordpress.org/plugins/tags/settings/)
 *  [Advanced View](https://fuc.wordpress.org/plugins/wp-logout-redirect/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/wp-logout-redirect/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-logout-redirect/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-logout-redirect/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-logout-redirect/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-logout-redirect/reviews/?filter=1)

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

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

## Contributors

 *   [ HasinHayder ](https://profiles.wordpress.org/hasinhayder/)

## Support

Got something to say? Need help?

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