Title: Login doesn&#8217;t stick
Last modified: August 18, 2016

---

# Login doesn’t stick

 *  [jordonk](https://wordpress.org/support/users/jordonk/)
 * (@jordonk)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/login-doesnt-stick/)
 * Before upgrading to 2.0, I would allow WordPress 1.5 to remember my password,
   and I would be logged in until I cleared my cookies. Now with 2.0, I have to 
   log in again after I leave the backend of my site. It can get quite annoying.
   I never click the “Sign out” link, and checking the “Remember me” box doesn’t
   help. I’ve deleted my cookies and tried again to no avail. What’s the problem?

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/login-doesnt-stick/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/login-doesnt-stick/page/2/?output_format=md)

 *  [citeewurkor](https://wordpress.org/support/users/citeewurkor/)
 * (@citeewurkor)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/login-doesnt-stick/#post-306810)
 * I noticed that as well. I just don’t leave the admin screen. Kind of weird, though.
   
   I do kind of like the security aspect of it though.
 *  [johnoz](https://wordpress.org/support/users/johnoz/)
 * (@johnoz)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/login-doesnt-stick/#post-306963)
 * Before upgrading to 2.0, WordPress would remember my password and I would be 
   logged in until I cleared my cookies. Now with 2.0, I have to login fresh each
   time and neither Firefox nor Camino will remember my details. Cookies are saved
   and I have cleared them and reset everything I can think of to no avail.
 * BTW I can login to the Dashboard from my site without an issue.
 * Is this a bug??
 *  [kainzy](https://wordpress.org/support/users/kainzy/)
 * (@kainzy)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/login-doesnt-stick/#post-307012)
 * Hi all, I too have the exact same problem that wasn’t apparent with WP1.5. I 
   tick the remember box from Firefox but no luck. Even tried clearing the cookies
   but had the same result too. Login details aren’t remembered.
 *  [GaryPetersen](https://wordpress.org/support/users/garypetersen/)
 * (@garypetersen)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/login-doesnt-stick/#post-307021)
 * The Codex page for WordPress cookies (1) still suggests that you ought to stay
   logged in (and bypass the login screen directly t the Admin page). And the v2.0
   Changelog (2) doesn’t mention login behavior as having changed.
 * Perhaps this is a bug.
 * (1) [http://codex.wordpress.org/WordPress_Cookies](http://codex.wordpress.org/WordPress_Cookies)
   (
   2) [http://codex.wordpress.org/Changelog/2.0](http://codex.wordpress.org/Changelog/2.0)
 *  [Ryan Boren](https://wordpress.org/support/users/ryan/)
 * (@ryan)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/login-doesnt-stick/#post-307314)
 * If using Firefox, make sure it’s not overriding the expiration.
 * Got to Edit->Preferences in Firefox. Click on “Privacy”. Go down to “Cookies”.“
   Keep Cookies:” should say “until they expire”.
 * If that is set correctly, click “View Cookies”. Scroll down until you see the
   name of your site. Look for a cookie named “wordpresspass_*” where * is a bunch
   of hex digits. Click on that cookie. The “Expires” field should be set to a date
   about a year from now.
 *  [GaryPetersen](https://wordpress.org/support/users/garypetersen/)
 * (@garypetersen)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/login-doesnt-stick/#post-307327)
 * Thanks, Ryan. I have three WordPress blogs at my countrykeepers.com site. The
   cookie for each of them is set to expire either in November or December, 2006.
   And Keep Cookies – Until They Expire is set in my Firefox v1.5 installation.
 * I haven’t tried it in Internet Explorer yet, but I will.
 *  [johnoz](https://wordpress.org/support/users/johnoz/)
 * (@johnoz)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/login-doesnt-stick/#post-307329)
 * Ryan, I also want to confirm that Firefox is setup as you say and that I still
   have the problem. Same with Safari and Camino –all MacOSX browsers.
 *  [xionos2k](https://wordpress.org/support/users/xionos2k/)
 * (@xionos2k)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/login-doesnt-stick/#post-307354)
 * I have this problem as well, I did notice that when I replace the v2.0 wp-login.
   php with the old v1.5 file, it allows me to stay logged in like before, but the
   main page doesn’t show me as being logged in, even though I am, it still says“
   Register” and “Login”, I’m guessing it’s just a bug that will hopefully be resolved
   soon.
 *  [Ryan Boren](https://wordpress.org/support/users/ryan/)
 * (@ryan)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/login-doesnt-stick/#post-307362)
 * Okay, wp-login.php isn’t redirecting. If you visit wp-login.php directly, it 
   will ask you to login even if you already are. However, if you visit anywhere
   in wp-admin/, those pages will recognize your current login. So, you don’t really
   have to login again, it just looks like you do. This is annoying, however, so
   here’s a [fixed wp-login.php](http://trac.wordpress.org/file/trunk/wp-login.php?rev=3391&format=raw).
   Copy it over the top of your existing wp-login.php file.
 *  [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/login-doesnt-stick/#post-307363)
 * Is the corrected wp-login.php updated in the download?
 *  [Ryan Boren](https://wordpress.org/support/users/ryan/)
 * (@ryan)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/login-doesnt-stick/#post-307364)
 * No, the 2.0 release is what it is. The fix will be in a maintanence release, 
   or you can grab the next nightly build to get that fix plus all of the other 
   fixes for 2.0 so far.
 *  [kainzy](https://wordpress.org/support/users/kainzy/)
 * (@kainzy)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/login-doesnt-stick/#post-307382)
 * Thank you so much Ryan, that updated login is working perfectly it seems. Having
   to login each time was getting mildy irritating 🙂
 *  [xionos2k](https://wordpress.org/support/users/xionos2k/)
 * (@xionos2k)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/login-doesnt-stick/#post-307412)
 * Thanks for the updated wp-login.php, but it seems to be doing the same thing 
   as the 1.5 file did, it keeps me logged in, but still shows “login” and “register”
   on my front page, instead of “site admin” and “logout” Guess I’ll just have to
   take the good with the bad and suck it up 🙂
 *  [kainzy](https://wordpress.org/support/users/kainzy/)
 * (@kainzy)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/login-doesnt-stick/#post-307426)
 * Hmm, the updated login was working and keeping me logged in. Except just now 
   when I returned to the blog I ended up at the login screen with both boxes empty…
   going to check the expiration settings as mentioned above now.
 *  [johnoz](https://wordpress.org/support/users/johnoz/)
 * (@johnoz)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/login-doesnt-stick/#post-307451)
 * Works okay now, thanks! Seems I had to login one more time to set it…

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/login-doesnt-stick/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/login-doesnt-stick/page/2/?output_format=md)

The topic ‘Login doesn’t stick’ is closed to new replies.

## Tags

 * [cookies](https://wordpress.org/support/topic-tag/cookies/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 17 replies
 * 9 participants
 * Last reply from: [jadr](https://wordpress.org/support/users/jadr/)
 * Last activity: [20 years, 4 months ago](https://wordpress.org/support/topic/login-doesnt-stick/page/2/#post-307605)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
