Many people are having trouble logging into WordPress 2.6 admin area after upgrading.
After clearing cookies the problem persists for some.
After a bit of digging in the code I figured it has to do with a bug in the new cookie for admin access and how they (incorrectly) try to fall back to the default path.
Here’s a workaround:
go into your `wp-config.php` and add this line:
@define(‘ADMIN_COOKIE_PATH’, ‘/’);
NOTE ‘/’ would be your blog path.
If you find that ‘/wp-admin’ doesn’t work, make it ‘/blog/wp-admin‘ or whatever your path is.
Last but not least if nothing works, try just ‘/’ but note that reduces security in theory.
Recent Comments