Wordpress Redirect Login Issue in Firefox
If you're getting stuck in an endless loop when trying to login to your Wordpress control panel using Firefox, and you're sure you're entering the right credentials, the issue is most likely a bug in the coding related to cookies. I've lost hours and probably a lot of hair trying to overcome this, but thanks to a post by richtelford buried deep in the Wordpress forums (http://mu.wordpress.org/forums/topic/11865?replies=2) there is a fix. A painfully simple one…
FTP to your server / Wordpress installation folder and open the file wp-config.php in the root.
At the very top of the file (after the opening PHP declarations) paste the following code:
@define('ADMIN_COOKIE_PATH', '/');
Save the file, re-upload if necessary and the problem should now be fixed.








6 Comments
Arrr, i had this problem on a property site i was working on, i spent hours looking into it and couldn't find a solution. I ended up using Google Chrome to log-in, i even had to explain to my client to do the same. Thanks for posting this little bit of code, it will come in handy in the future.
David
This was one of those really annoying issues that took ages to figure out, thanks for your post, saved some time!
No problem – glad to help. Hopefully they've fixed this in version 3.0, which I believe has just moved out of beta.
Thanks for
your sharing, it’s very useful
Good one
I am using 3.0.1 and this problem took me nearly all day until I found your post.
Big thanks and a warm hug from sunny spain
Great article Thank
you so much!