• Resolved Candace

    (@aunrea)


    I recently added a domain to one of my multisite sites and now I cannot log in to the site. I keep getting:

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

    I have cleared my cookies and cache (including the cache plugin that is network installed). I use Chrome and I also tried Edge. I have tried it on my phone. I have tried adding define cookies to my config file and just got an error message to remove it.

    I can log into all my other sites in the multisite install. They all use the same login too. I am not sure what else I can do.

    The page I need help with: [log in to see the link]

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

    (@t-p)

    First off, make sure your network is not blocking the temporary cookies.

    Thread Starter Candace

    (@aunrea)

    How do I do that?

    Thread Starter Candace

    (@aunrea)

    What do you mean by network? The multisite network? My wifi network? My ISP? Or my host?

    Thread Starter Candace

    (@aunrea)

    I need to login to my website asap. I have searched the forum and tried everything that I have found. None of it worked.

    Moderator t-p

    (@t-p)

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

    Have you enabled cookies in your browser?

    Also try different browser.

    Thread Starter Candace

    (@aunrea)

    As it says in my first post, I have already done that.

    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.

    • This reply was modified 4 years, 10 months ago by t-p.
    Thread Starter Candace

    (@aunrea)

    The constant “COOKIE_DOMAIN” is defined (probably in wp-config.php). Please remove or comment out that define() line.

    Moderator t-p

    (@t-p)

    If nothing works, then 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.

    Thread Starter Candace

    (@aunrea)

    I contacted my host and they said it is an issue with WordPress and beyond their scope. Cookies aren’t being blocked on their end.

    Moderator t-p

    (@t-p)

    Orry, I’m out of ideas.

    Thread Starter Candace

    (@aunrea)

    When I switch the site back to the subdomain I was using, https://cloudninemeeple.candaceduffyjones.com, I can now log in. I can’t if I set it to my new domain https://cloudninemeeple.com.

    Thread Starter Candace

    (@aunrea)

    Could it be that I set up my domain wrong? I have set up domains with WordPress before and have not had this issue before?

    Thread Starter Candace

    (@aunrea)

    Is there really no solution?

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘New domain name causing cookie login error’ is closed to new replies.