WordPress Multisite: cookies blocked or not supported

How to fix log-in error when using multisite

There are many support queries regarding the WordPress log-in error message: “ErrorCookies are blocked or not supported by your browser. You must enable cookies to use WordPress.” And there just as many possible solutions…

We found one case on multisite when using the new domain mapping feature that required an update to the wp-config.php file. You may find after mapping a custom domain to your multisite subdomain that it is no longer possible to get past this error message. In order to resolve this, add the following line to your wp-config file:

define('COOKIE_DOMAIN', false);

We’ve found that this seems to solve the problem.


Do you develop plugins?

You should try Wisdom, a plugin designed specifically for plugin developers that allows you to track your plugin's usage and provides invaluable data on how your plugin is being used. Find out more.

3 thoughts on “WordPress Multisite: cookies blocked or not supported

Thanks for posting on this issue. However, when I add that to the wp-config.php file I get the following error across all sites:

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

If you have any other fix for this I’d be grateful to hear it.

Reply

Do you have any other plugins that might be conflicting with this? For example, Domain Mapping?

Reply

thank you 🙂 .it worked for me by adding define(‘COOKIE_DOMAIN’, false)
wordpress 4.7

Reply

Leave a Reply

Your email address will not be published. Required fields are marked *