If you try to log in but receive an error message such as:
ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.
You can fix it by inserting the following code into your wp-config.php file:
define( ‘COOKIE_DOMAIN’, $_SERVER[ ‘HTTP_HOST’ ] );
NOTE: If you use WordPress Multisite please add or change the following line to your wp-config.php file:
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
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
su*****@se******.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?