I have had this problem various times in the last 6 months on my WordPress blog. For whatever reason all of a sudden when I access my wp-admin page I receive an access denied on wp-admin / wp-login.php. Really annoying as you can imagine as it means you cannot get in to the back-end of your blog making it impossible to manage it. The blog it self is still available though when this happens so I figured I would write down the fix, as I somehow keep forgetting it.
- FTP in to host
- Check file permissions on wp-login.php, in my case permissions on this file are somehow magically always “00”
- Change permissions back to 0644
- Fixed, you should be able to login again
Simple solution, for a strange problem. If I ever find the rootcause I will post it here as well.