It does not work for me. what did I do wrong:
I put this:
if (strstr(php_uname(), ‘Windows’))
header(“Refresh: 0;url=wp-login.php”);
else
header(“Location: wp-login.php”);
then changed it to this:
if (strstr(php_uname(), ‘Windows’))
header(“Refresh: 0;url=wp-login.php”);
else
header(“Location: wp-login.php”);
// End of IIS fix by Toby
When I click on the logout button, you just don’t log out.