Leave a Reply

3 comments

  1. This will happen occasionally on both Firefox and Safari when cookies don’t match. Sometimes, WordPress will store an auth cookie and, for some reason, won’t read data back out of it. This leaves you in a weird place of being semi-logged-in.

    If you flush your cookies for the site, it should rectify the problem. Either delete the cookies manually via Firebug or tell FireFox to delete all cookies (either globally or just for the site), then log back in.

  2. I’ve just discovered today after a reading an article (I can’t remember where) and the same thing happening today, that it doesn’t seem to be cookie related as such; rather to do with the site and wordpress address!

    It appears that because the WordPress Address pointed to “http://www. diabetesuknelfsg.org.uk” rather than just “http://diabetesuknelfsg.org.uk” there was a conflict – one that obviously some web browsers are programmed to ignore. As soon as I removed the www. my problems went away. Lets hope this is a more permanent fix as well!

    Help that helps somebody

  3. Yet another reason this could be is that the “Edit” button in the front end of a post, is using a cdn’s domain (caching the links but also switching the domains, causing cookie confusion and thus logging you out) rather than your own site. Some hosting providers offer link caching that intercept these admin links as well. You can test it by copying the latter part of the link and seeing if that does not log you out.

    http://jojud265nia2bj9.some-cdn-provider.com/wp-admin/post.php?post=16144&action=edit

    Try copying the latter part of the link (without the host) and using your actual site and see if you still get logged out

    http://www.examplesite.com/wp-admin/post.php?post=16144&action=edit

    If you didn’t get logged out, maybe the cdn domain switching is the problem.