1

I'm getting this error while trying to log in:

ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.

Yet I have cookies enabled and not blocked. I've tried this on a few different browsers, and in the incognito/private modes of those browsers, too, and get the same messages. I've also tried clearing all cookies from the cache, pursuant to the instructions on Mozilla Support. What could be causing this, and how would I go about debugging this issue?

  • Disable your plugins and switch to a bundled theme like "Twenty Fourteen". Do you still have the problem? – s_ha_dum May 5 '14 at 15:06
  • Please file an edit and show your wp-config.php file. Also do as @s_ha_dum said: Deactivate plugins, etc. – kaiser May 5 '14 at 15:17
  • 1
    @kaiser, Thanks, that was it. It was a domain set incorrectly in wp-config.php. – Jonathan May 5 '14 at 15:41
4

It turns out I had DOMAIN_CURRENT_SITE set incorrectly in wp-config.php. (This particular install was a copy of another server, and the domain hadn't fully been changed.)

  • I had the same problem with cookies during login but my case was a rewrite plugin which after renaming plugin folder from ftp wp-content/plugins/rewrite to broken.rewrite as is explained here wordpress.stackexchange.com/questions/119590/… finally I am able to login. – Blerta Jun 1 '14 at 17:16
0

This can happen if you have the wrong values for siteurl and/or home in your wp_options table. Make sure these values match the DOMAIN_CURRENT_SITE noted above.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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