How to Fix A Cookies Blocked Error on WordPress Admin Dashboard

if you recently encounter “Cookies Blocked Error on WordPress Admin Dashboard” You must be very frustrating about this stupid issue. Right?

Don’t worry it’s easy to fix the issue than you think.

Cookies Blocked Error on WordPress

Why are you having this problem in first place?

The majority of times this happens If you have installed caching and security plugins more heavily on Your WordPress websites.

How to Fix A Cookies Blocked Error

Method #1:

  • Refresh your browser most of the time this will take you straight to WordPress Dashboard.
  • If above method doesn’t solve the problem- Acess your site via FTP.
  • Go to your wp-content folder and then Themes folder.
  • Select the theme which is currently activated on your website.
  • Right click on “functions.php file and choose open and edit the file. (this will open the file in notepad editor) or You may consider using the Code Snippets plugin instead of editing theme files directly.
  • Add the following code at the very bottom of your file’s content.
setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN);
  • Save and Exit the file and Now Try Again. It should have been fixed Like Magic.

Method #2:

How to enable cookies for a specific site in Chrome and Firefox

If the method #1 didn’t work for you, then you have to enable cookies in your browser to log in to your WordPress site.

Here is how you can enable cookies for a specific site in Chrome and Firefox:

a. Enable cookies in Chrome

  • Go to any website and click on the little padlock or page icon from the starting of the site link and click site settings as shown in the following screenshot (alternatively go to chrome://settings/content)

Cookies Blocked Error site settings


  • Now click the button Cookies (Alternatively go to chrome://settings/content/cookies)

Cookies Blocked Error chrome cookies settings


  • In Allow cookies section click on “Add new Site”

Cookies Blocked Error allow new site

  • Just add your site to the list here like this: [*.] and click the button DONE

Cookies Blocked Error add new site

  • Once done, you will be able to login via Chrome browser into your WordPress site by now.

b. Enable cookies in Firefox

  • Run the Firefox and click the Menu button from the top right corner and click Options

How to Fix A Cookies Blocked Error on WordPress Admin Dashboard 1


  • Click Privacy tab
  • Here, you can see under History, Firefox will and select Use custom settings for history
  • Now, set the things up as per as following screenshots

How to Fix A Cookies Blocked Error on WordPress Admin Dashboard 2


So, now after following this article and make changes to your browsers as described, you will be able to troubleshoot the so-called WordPress error:

“Error: cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.

hahaha! Hope you enjoyed this article. If you have any problem please comment below.

Comment below and Let me know If it works or doesn’t work and I’ll do my best to help you out.

    • Hi Priya, Please try clearing your browser’s cookies and cache and if you are using Cloudflare try disabling it.

  • Hello. Thank you. but the error is still there. One of my website’ is HTTPS which is not working and other websites are working which don’t have SSL certificate. Can you help me to resolve the issue?

  • >