bitnami multi site Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress. code example
Example 1: Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.
you’ll need to open your website’s function.php file.
Then add the following code:
setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN);
if ( SITECOOKIEPATH != COOKIEPATH ) setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN);
and then save/upload your functions.php file.
Example 2: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.
define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] );