IT BS Help

WordPress Redirect User after logout to Homepage and not Login

in Website/Hosting

Place this at the top of wp-login.php file which is located in your wordpress files.

 

//Rediect User to Home Page After Logout
$wordpress_website_url = ‘http://eafinc.org’;
if (isset($_GET[‘loggedout’]) && true == $_GET[‘loggedout’]) {
header( “Location: $wordpress_website_url” );
}

0