If you are trying to login but you are getting error like
ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.
you can solve it by adding the following line into your wp-config.php
define( ‘COOKIE_DOMAIN’, $_SERVER[ ‘HTTP_HOST’ ] );
NOTE: If you are using WordPress Multisite please add or set the following line into your wp-config.php
define( ‘COOKIE_DOMAIN’, false );
Does plugin support migration to multisite WordPress ?
Hi QubaQ,
Yes, our Multisite Extension (https://servmask.com/products/multisite-extension) supports WordPress Multisite migration.
the cookie problem may cause other problems, I had to comment it out later, once the problem was fixed
That’s great to hear, Nate! Glad I could help, and thanks for telling us about your own solution.
I am using a multisite and was facing this issue.
After I added the below code, there were no more issues for the primary domain.
define( ‘COOKIE_DOMAIN’, false );
However, I am getting cookie issue on other domains.
How do I solve this?
In addition to the above code, do I also need to add the code below for multisite?
define( ‘COOKIE_DOMAIN’, $_SERVER[ ‘HTTP_HOST’ ] );
Hi VJ,
Yes, can you please add the code that you mentioned?
If it still does not work, please contact us at support@servmask.com.
Thank you!
I tried all possible way but unable to login to the admin dashboard.
Have you tried to refresh the page after entering the username and password?
Thanks
Thanks it works on my site
Thanks
Useful
I often get this error, thank you for sharing