• i’m sorry if this exact problem has already been discussed. i tried to search the forums for it but did not come up with anything exactly like this right away.

    i usually login to my account via wp-admin. a few days ago, something strange happened. in the middle of writing an entry, the section that shows my autosave status suddenly popped up with a login window. thankfully, i quickly copied my unsaved text and pasted it into an e-mail to myself. then, i reloaded wp-admin. i had my usual wp-login.php screen. i tried to login with the correct username and password but ended up back at the wp-login.php. i tried the admin username. still the same thing. i tried purposely mistyping the password. only then did i get an actual “ERROR: Incorrect password.” message. when i use the correct passwords for the correct usernames, i just end up back at the wp-login.php screen; over and over.

    i tried clearing my cookies. i tried restarting my browser. i tried uploading a new copy of wp-login.php (from wordpress 2.6) to the directory. i tried adding the line “@define(’ADMIN_COOKIE_PATH’, ‘/’);” to my wp-config.php file.

    i don’t get what’s happening.

Viewing 16 replies (of 16 total)
  • Possible solution:

    This happened to me yesterday, after I changed the Blog URL in the WP Settings, from “domain.com/” to “domain.com/index.php”.

    I did this hoping I could put the blog on the live server while keeping a static index.html there as we roll out changes to the blog. Any links in WP point to /?p=x which pointed to my static html page rather than to the blog’s index.php.

    What I didn’t know is that changing the blog URL affects the URL of the dashboard pages as well. So in effect, I locked myself out of the admin area!

    I was able to go to the mysql server and figure out where the blog URL value was stored and edited it back to just “domain.com/”. I WAS LUCKY that I had the access to the mysql server. My domain for this project is on Dreamhost.

    Hope this helps.
    STAN

Viewing 16 replies (of 16 total)
  • The topic ‘logging into wordpress 2.5 returns me to wp-login.php’ is closed to new replies.