Forums

[resolved] WP Logout (5 posts)

  1. revlimiter
    Member
    Posted 3 years ago #

    When I log out of WP Admin I would like to redirect to the homepage rather than "/wp-login.php?loggedout=true"

    Can someone please show me how to do this?
    Thanks!

  2. revlimiter
    Member
    Posted 3 years ago #

    bump

  3. revlimiter
    Member
    Posted 3 years ago #

    bump...

  4. brad.goss
    Member
    Posted 3 years ago #

    I know this is old, but go into the wp-login.php file and on line 290 there is a line that says

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

    Modify accordingly (I have not tried this, but can only assume this is where you can do it.).

  5. omgitztrey
    Member
    Posted 3 years ago #

    I haven't taken a look at the code, but wouldn't having ?loggedout=true like help close the admin sessions or whatever they term it in php.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.