Title: WP Logout Redirect
Author: HasinHayder
Published: <strong>12. juli, 2019</strong>
Last modified: 26. december, 2025

---

Søg 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

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

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

 * [Detaljer](https://da.wordpress.org/plugins/wp-logout-redirect/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/wp-logout-redirect/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/wp-logout-redirect/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/wp-logout-redirect/#developers)

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

## Beskrivelse

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.

## Anmeldelser

![](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/) 22. maj, 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/) 1. oktober, 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/) 12. oktober, 2019

It saves my time! Thanks!

 [ Læs alle 3 anmeldelser ](https://wordpress.org/support/plugin/wp-logout-redirect/reviews/)

## Bidragsydere & udviklere

“WP Logout Redirect” er open source-software. Følgende personer har bidraget til
dette plugin.

Bidragsydere

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

[Oversæt “WP Logout Redirect” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/wp-logout-redirect)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/wp-logout-redirect/),
tjek [SVN repository](https://plugins.svn.wordpress.org/wp-logout-redirect/), eller
abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/wp-logout-redirect/)
via [RSS](https://plugins.trac.wordpress.org/log/wp-logout-redirect/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 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**
 *  Senest opdateret **9 måneder siden**
 *  Aktive installationer **400+**
 *  WordPress-version ** 5.0 eller højere **
 *  Testet op til **6.9.9**
 *  PHP-version ** 7.2 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/wp-logout-redirect/)
 * Tags
 * [accessibility](https://da.wordpress.org/plugins/tags/accessibility/)[admin](https://da.wordpress.org/plugins/tags/admin/)
   [redirection](https://da.wordpress.org/plugins/tags/redirection/)[security](https://da.wordpress.org/plugins/tags/security/)
   [settings](https://da.wordpress.org/plugins/tags/settings/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/wp-logout-redirect/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

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

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

[Se alle anmeldelser](https://wordpress.org/support/plugin/wp-logout-redirect/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

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