3 Ways to Fix Cookies are Blocked or Not Supported by Your Browser

by Ola-Hassan Bolaji
Ola-Hassan Bolaji
Ola-Hassan Bolaji
Editor
A Computer Engineering graduate, he has spent most of his life reading and writing about computers. He finds joy in simplifying complex topics into simple solutions for PC... read more
Affiliate Disclosure
  • The cookies are blocked or not supported by your browser error can occur when you migrate your website to another hosting provider.
  • Another possible cause is the installation of caching and security plugins on your WordPress site.
  • You can fix this issue by clearing your browser cookies and other site data from the settings.
cookies are blocked or not supported by your browser
Struggling with various browser issues? Try a better option: Opera OneYou deserve a better browser! Over 300 million people use Opera One daily, a fully-fledged navigation experience coming with various built-in packages, enhanced resource consumption, and great design. Here's what Opera One can do:
  • Optimize resource usage: Opera One uses your Ram more efficiently than Brave
  • AI and User Friendly: New feature directly accessible from the sidebar
  • No ads: Built-in Ad Blocker speeds up the loading of pages and protects against data-mining
  • Gaming friendly: Opera GX is the first and best browser for gamers
  • ⇒ Get Opera One

The cookies are blocked or not supported by your browser error when you want to log in to your WordPress site. It prevents you from accessing your website until it is resolved.

It is usually not because your browser does not support WordPress cookies. Instead, it occurs due to switching hosting providers and installing caching and security plugins on your website.

Irrespective of the cause, we will show you how to fix this problem just like we did with the common WordPress hosting issues.

How do I ensure cookies are enabled?

  1. Launch your browser and click the menu button (three vertical dots) at the top right corner.
  2. Select the Settings option.
    settings cookies are blocked or not supported by your browser
  3. Choose the Privacy and security option on the left pane.
    privacy and security
  4. Select Cookies and other site data.
    cookies and other data are blocked or not supported by your browser
  5. Finally, tick the radio button for Allow all cookies.
    allow

With this enabled, cookies will always work on your browser. And you can be sure the cookies are blocked or not supported by your browser issue is not from your end.

🖊️Quick Tip:

The Advanced settings in the Opera One browser allow you to manage favorite sites and cookies with a few mouse clicks. The Allow sites to save and read cookies setting determines whether websites can set cookies.

In general, you should probably keep this enabled, but this is easily manageable in Opera One and you may allow whatever cookies you want or trust to be favorable.

Opera One

Easy manage third-party cookies, set preferred websites you mostly visit, and avoid blocked access.
Free Download Visit website

How do I fix blocked cookies?

1. Disable caching and security plugins

If the cookies are blocked or not supported by your browser error started showing up after installing a caching or security plugin on your site, you might have to disable it to restore normalcy.

This is because these plugins cache and minify your site, leading to cookies not being generated or not working. Hence, you need to disable the plugin to log in to your browser.

2. Clear browser cookies

  1. Open your browser and click the menu button.
  2. Choose the Settings option.
    settings
  3. Select the Privacy and security option.
    security cookies are blocked or not supported by your browser
  4. Choose Cookies and other site data.
    cookies and other site data
  5. Select the See all cookies and site data option.
    see all
  6. Finally, click the Remove All button.
    remove all

The cookies are blocked or not supported by your browser error might be because you changed your hosting provider. Changing your provider while keeping your domain the same might cause existing cookies not to work on your website.

So, if your WordPress cookies are blocked after migration, clearing the cookies and allowing another to be generated should do the trick.

3. Edit your website’s function.php file

  1. Open your website’s function.php file.
  2. Copy and paste the code below into it: setcookie (TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN);
    if ( SITECOOKIEPATH != COOKIEPATH ) setcookie (TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN);
  3. Lastly, Save/upload the functions.php file.

This technical fix should only be used as a last resort if the two fixes above fail. You will require a bit of coding/technological know-how to do this.

This code will check if your browser has cookies by setting the WordPress test cookie. It has proved to work for other users, so you should give it a try too if all options fail.

The cookies are blocked or not supported by your browser error, and preventing you from logging into your WordPress site can be annoying. However, as shown, it can be fixed with the correct info.

If you want to fix security issues on your WordPress website, check our comprehensive guide on how to get it done effortlessly.

Finally, let us know which fixes helped resolve the problem in the comments below.

This article covers:Topics: