WordPress.org

Ready to get started?Download WordPress

Forums

Logout Fails (2 posts)

  1. ContestedArt
    Member
    Posted 4 years ago #

    Whenever anyone tries to log out using the Log Out button on my Navigation bar it gives an error and redirects you back to the site. When I look at my Header Php file it says this as the function of clicking that button:

  2. /wp-login.php?action=logout&redirect_to=<?php echo urlencode($_SERVER['REQUEST_URI']) ?>">Logout
  3. I have tried altering this a bit, but nothing seems to work. Any suggestions on how I can modify this so when you click it you are logged out and redirected to the Home page?

    Thanks,

    Chris
    ContestedArt.com

  • Simon
    Member
    Posted 4 years ago #

    Same issue...logout failure

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags