WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can't log in as admin on my wordpress site. I've tried to change the password, and a bunch of other stuff, but no result. What happens is that I come back to the log in page, no message. The strange thing is that I can log in as another user, but then I don't have the authority that I need.

I've checked the PHP log files and I can't find anything there. I've tried to go in private mode, but it doesn't work either.

Suggestions what I should try?

share|improve this question
Try disabling plugins by moving them out of the plugin folder or temporarily renaming the folders (a prefix, for example: 'folder-name' becomes '_folder-name' so you can undo it later) – GhostToast Aug 20 '13 at 13:21
Tried it, didn't work. – Rhyder Aug 20 '13 at 13:26

Maybe you can upload wp-login.php again or change your Admin password with sql query: UPDATE 'wp_users' SET 'user_pass' = MD5('PASSWORD') WHERE 'user_login' ='admin' LIMIT 1;

share|improve this answer

What you're saying suggests your tokens are not correct. If I were you I'd try to change the password via phpmyadmin :

UPDATE wp_users SET user_pass = MD5('newpassword') WHERE user_login = "admin";

Change with your login and/or table prefix.

share|improve this answer
Tried it, didn't work, tried to change the password the "normal" way, and when I clicked the link that I got in the mail, it says: Sorry, that key does not appear to be valid. Something seems corrupt. – Rhyder Aug 20 '13 at 13:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.