Logout does not go home but to example.com/WP_HOME
-
Hi,
The plugin basically does what it needs to do and helps people logout in situations where normal logout is not working – which is great!
But after logout it redirects to example.com/WP_HOME instead of to the home of my site.
When I define WP_HOME in my wp_config.php it does work:
define( 'WP_HOME', 'https://example.com' )
But if I edit the plugin and find the line containing:
header('Location: '.WP_HOME);
and change it to the following it also works and is maybe easier:
header('Location: '.get_option('home'));
Thanks for all the work!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Logout does not go home but to example.com/WP_HOME’ is closed to new replies.