#in wp-config.php
define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] );
#https://www.fiverr.com/tamerjarrar
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.
#https://www.fiverr.com/shadabdeveloper