Support » Fixing WordPress » redirect after logout

  • Hello all,

    I know that modifying core files is a no no, but when you log out of the site I tend to think that most authors are interested in seeing their posts rather then the log in screen.

    Is there any reason in my reading why on line 328 if using notepad++ ( best free editor around IMO ) that we can’t change the line from

    $redirect_to = ‘wp-login.php?loggedout=true’;

    to:

    $redirect_to = ‘index.php?loggedout=true’;

    and do we need the ?loggedout=true on the end of the index.php? What potential problems other then having to change this each time with updates might occur by making this change?

    Kind regards,
    Saxamo

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘redirect after logout’ is closed to new replies.