• Resolved experimentfailed

    (@experimentfailed)


    I can’t log out of my site. Clicking the Log Out link in the upper right drop-down menu redirects me to the login page. However, if I just enter the site’s main URL in a new tab, I’m magically still logged in. I’ve tried logging out of all tabs, closing the browser, rebooting the PC and going to the base URL of my site and I’m still logged in. It’s like the ground hog day of logins… I don’t want to clear cookies b/c I don’t want to log back into every site I use and never had to do that before to log out of a site. Usually, I’m lucky to stay logged in to anything.

    I feel like this is probably related to why the registration link also only takes me to the login page, because I’m never actually logged out.

    Running on an Ubuntu 10.04 VPS with Lighttpd and fastcgi.

    Please help me escape this madness….

    site in question: http://reapertutorials.com

    UPDATE: Using a fresh browser, the registration URL still does not work – I am taken to the login page. But at least that browser isn’t logged in!!! 😀

    UPDATE 2: “forgot password” function also does not work, and simply redirects to the log in page.

    oh, and yes, I’ve deactivated all plugins with no change. Switched themes, etc.

    SOLUTION:
    I fought with this for so long it’s embarrassing. Then minutes after I posted this here, I found a solution.

    The issue is with Lighttpd redirect. Replace your redirect configuration to:

    url.rewrite = (
    “^/(.*)\.(.+)$” => “$0”,
    “^/(.+)/?$” => “/index.php/$1”
    )

    All other wordpress redirect code solutions now appear to be wrong (I tried several in troubleshooting other issues). This one seems to be working for me 100%.

Viewing 1 replies (of 1 total)
  • Thread Starter experimentfailed

    (@experimentfailed)

    Final update, I hope…. Couldn’t access wp-admin from links with the above solution, so updated my lighttpd redirect config as follows:

    url.rewrite = (
        "^/(wp-admin|wp-includes|wp-content|gallery2)/(.*)" => "$0",
        "^/(.*)\.(.+)$" => "$0",
        "^/(.+)/?$" => "/index.php/$1"
      )
Viewing 1 replies (of 1 total)
  • The topic ‘can't logout & can't register’ is closed to new replies.