• [ Moved to the Fixing WordPress sub-forum. Please do not use Developing with WordPress for these topics. ]

    I get an error, Cookies are blocked, when logging in the first time then when I try again I have no problem. How do I fix it?

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

Viewing 1 replies (of 1 total)
  • Moderator t-p

    (@t-p)

    Try adding below line to your wp-config.php before /* That’s all, stop editing!…*/

     define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] );
    
    /* That's all, stop editing! Happy blogging. */

    If that does not help, contact your hosting provider and ask them if they have some setting that may be filtering out the cookies that WordPress uses to handle logins.

Viewing 1 replies (of 1 total)
  • The topic ‘ERROR: Cookies are blocked on login’ is closed to new replies.