In this wordpress tutorial for beginners you will learn how to fix issue of cookies are blocked or not supported by your browser and you must enable cookies to you wordpress on login page in wordpress website by added code in file.
There are two way to fix this issue.
1- Add code in functions.php file in your current active theme folder
if ( SITECOOKIEPATH != COOKIEPATH ) {
setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN);
}
OR
2- Add code in wp-config.php file
define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] );
#cookies #blocked #login #wordpress #WebTaskWithHassan #HassanGilani