# I CAN'T LOGIN TO WORDPRESS

**URL:** <https://www.phphelp.com/t/i-cant-login-to-wordpress/24244>\
**Category:** General Chat\
**Created:** [May 6, 2015, 10:25pm UTC](https://www.phphelp.com/t/i-cant-login-to-wordpress/24244 "2015-05-06T22:25:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jj-dr](https://www.phphelp.com/letter_avatar_proxy/v4/letter/j/e5b9ba/32.png) [@jj-dr](https://www.phphelp.com/u/jj-dr)\
**Post date:** [May 6, 2015, 10:25pm UTC](https://www.phphelp.com/t/i-cant-login-to-wordpress/24244/1 "2015-05-06T22:25:39Z")

</div>

Hi Guys. I recently installed WodPress and I am testing a new site.

Everything was working fine when all of a sudden my access to the admin area has been blocked. I am getting the following error message:

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

I have checked my browsers (FF, IE, CHROME) and all of them have cookies enabled. I have tried clearing history and cache, I still don’t have access.

Please help. Thanks in advance for your contributions.

---

<div class="post-metadata">

**Author:** ![Topcoder](https://www.phphelp.com/user_avatar/www.phphelp.com/topcoder/32/4356_2.png) [@Topcoder](https://www.phphelp.com/u/Topcoder)\
**Post date:** [May 7, 2015, 3:38am UTC](https://www.phphelp.com/t/i-cant-login-to-wordpress/24244/2 "2015-05-07T03:38:02Z")

</div>

You can comment out the cookie check in the wp-login.php, once you do that you should be able to log into the admin…

Here’s a post that talks about the issue and possible solutions you can try.

[https://wordpress.org/support/topic/cookie-error-when-logging-in](https://wordpress.org/support/topic/cookie-error-when-logging-in)

---

<div class="post-metadata">

**Author:** ![jj-dr](https://www.phphelp.com/letter_avatar_proxy/v4/letter/j/e5b9ba/32.png) [@jj-dr](https://www.phphelp.com/u/jj-dr)\
**Post date:** [May 12, 2015, 4:08pm UTC](https://www.phphelp.com/t/i-cant-login-to-wordpress/24244/3 "2015-05-12T16:08:46Z")

</div>

Hi, and thanks for your help Topcoder.

I fixed the issue by commenting out the following:

[php][/php]

This helped me for like a day or so. Then the issue came back, but this time without the error message. It just didn’t allow me to log in.

So, someone suggested in another forum to disable my Firewall (windows 8 for me). I did, and the problem was fixed.

After I had gained access to my admin panel, then I enabled firewall again. I really don’t know how it does work, but my issue is gone since I did that… and my firewall it’s still enabled.

I use Firefox. I hope it can help someone facing the same issue. Good luck!

---

<div class="post-metadata">

**Author:** ![astonecipher](https://www.phphelp.com/user_avatar/www.phphelp.com/astonecipher/32/2797_2.png) [@astonecipher](https://www.phphelp.com/u/astonecipher)\
**Post date:** [May 12, 2015, 9:51pm UTC](https://www.phphelp.com/t/i-cant-login-to-wordpress/24244/4 "2015-05-12T21:51:50Z")

</div>

I run into the issue frequently. I have autologins for WordPress sites as I have several clients that have them, but trying to login again generally works.

On the same, I also have a similar issue logging into CPanel on occasions.
