• After you logout of WordPress, you are redirected to the login page. Is there a way to redirect the person to the blog index page?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Edit /wp-login.php, find the logout: section around line 21, change the wp_redirect(‘wp-login.php’); to wp_redirectory(‘index.php’);

    Regards

    Thread Starter exd

    (@exd)

    thank u very very much 😉
    good luck…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘redirect after logout to index.php, how to do that’ is closed to new replies.