Beschrijving
WP Logout Redirect
Beschrijving
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_urlfilter 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.
- Manual URL: Enter any custom URL in the input field.
- Page Selector: Choose an existing page from the dropdown to automatically fill the URL.
- Presets: Use the “Quick Presets” buttons for common destinations.
- 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'; }); Installatie
- Upload the plugin files to the
/wp-content/plugins/wp-logout-redirectdirectory, or install through the WordPress plugins screen. - Activate the plugin.
- 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.
Beoordelingen
Bijdragers & ontwikkelaars
“WP Logout Redirect” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
BijdragersVertaal “WP Logout Redirect” in je eigen taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via 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.




