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 am having some difficulty logging into my WordPress site. When I attempt to visit example.com/wp-admin, I see a blank page and the url bar changes to:


If I visit example.com/wp-login.php, I only see a blank white page without any change to the URL.

I have confirmed this is not a problem with anything on my local machine as the behavior persists across multiple browsers and devices.

I have found numerous forum posts about the issue but none offer a satisfactory solution.

Please help as I urgently need to update content on the site.

Update: I turned WordPress debugging on and see the following error

Fatal error: Cannot redeclare check_password_reset_key() 
(previously declared in /home/wordpress/public_html/wp-login.php:281) 
in /home/wordpress/public_html/wp-includes/user.php on line 1637

Any tips on how to fix this would be greatly appreciated

share|improve this question
Clear your cookies. – Wyck Jan 27 '14 at 0:41
When was the last time you were able to log into WP? wp-admin redirecting to wp-login.php is correct. Did you change something, e.g. add a plugin? – user42826 Jan 27 '14 at 1:15
I was able to login last time I tried a couple of days ago. I did install a plugin but I deleted it and the problem persists – user44754 Jan 27 '14 at 1:22
Check your htaccess to make sure it's not wonky. – MikeNGarrett Jan 27 '14 at 2:25
If all else fails, enable debugging in wp-config.php define('WP_DEBUG', true); and access wp-admin. You should be able to see the error messages and why it is blank. My guess is a plugin error if it was working previously. – user42826 Jan 27 '14 at 17:59

This could be caused by a wordpress table crashing. Setting define('WP_DEBUG', true); in the wp-config.php will show you exactly what table has crashed if this is the case.

share|improve this answer

There are many possible causes to this problem. Some have to do with your database. Try turning on WP_DEBUG and interpreting the error messages.

In my own case (which is how I stumbled on your question here), the problems was writing a session token into usermeta. I went into PhpMyAdmin > wp_usermeta > and deleted the meta_value for session_token. (Detailed story here https://wordpress.org/support/topic/possible-fix-for-sudden-redirect-loop-at-wp-login-with-reauth1)

share|improve this answer
This along with clearing your browser cache should be the accepted answer. – Tisch May 7 at 15:05

I also had this issue but had a different message. After working through the myriad of fixes: htaccess, renamed plugins, renamed theme, checked for blank space in wp-config.php I was still stuck.

Logging into PHPMyAdmin I tried to optimize tables but got a user denied error. It turned out to be the database itself being oversize and then 'blocked' by the shared hosting. After finding the main culprit (a Wordfence log table) I truncated that, waited 30 minutes and hey presto, it all worked again.

Thought this might help someone else completely stuck after trying every other suggested option!

share|improve this answer

Had the same problem... clearing the cookies didn't do the trick.

What did the trick was logging in via incognito mode first, and then I was able to login normally.

share|improve this answer
Not sure why this is downvoted... after removing the session_token, I used incognito too. I will need to clear chrome cache too, but incognito helped solved the issue by highlighting part of the problem was the browser. Chrome has ruthless cache and is often at the center of issues like this. – Tisch May 7 at 15:04
Upvoted, it worked for me. Weird. – IAmJulianAcosta Jun 2 at 23:20

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.