• Hi,

    For some reason, I just cannot get the logout redirect to work – after logout, I always get dumped to https://www.mysite.com/wp-login.php?loggedout=true

    I’ve tried setting this in the User Roles configuration and also put the redirect into the URL directly, but no luck. I’ve changed themes, deactivated plugins and set up Ultimate Members on a different site – all the same result.

    Any help appreciated!

Viewing 2 replies - 16 through 17 (of 17 total)
  • Hi every1,
    same issue here.

    Not using this paricular plugin, but this:

    Strangely, various sources and help forums on the net claim that this can’t possibly work, as wp_logout() will already have dumped you on the standard WP login page

    It’s not true. “wp_logout” doesn’t any redirect, it just destroys the session data. For confirmation just explore the source code yourself of wp_logou’s function or the code of /wp-login.php

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Logout redirect not working’ is closed to new replies.