If you have a caching plugin installed on your WordPress site. There are certain occasions that you will experience a Cookies Blocked error message while trying to log in to the WordPress admin dashboard. If you’re seeing this alert, below is the method that will help you to solve how to Cookies Blocked Error Permanently.
Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.
How to Cookies Blocked Error Permanent Fix.
- First Access your Functions.php file By using FTP tool such as Filezilla or cyberduck, or go through the file manager in your hosting cPanel.
- Add the following code to the bottom of the functions.php file.
setcookie (TEST_COOKIE, ‘WP Cookie check’, 0, COOKIEPATH, COOKIE_DOMAIN); if ( SITECOOKIEPATH != COOKIEPATH ) setcookie( TEST_COOKIE, ‘WP Cookie check’. 0, SITECOOKIEPATH, COOKIE_DOMAIN);
- Upload/Save your Functions.php file.