Support » Installing WordPress » Admin login redirect not working

  • I previously had 1.2 installed without any issues.
    Decided to do a complete reinstall for 1.5. Deleted database and all WP folders.
    Installation works fine but when I try to login with the admin username and password it seems to accept the password but redirects right back to the login screen (no errors). WP installed without errors.
    This happens on all browsers (deleted cache, cookies etc).
    Checked database values for ‘home’ and ‘siteurl’ and they are both correct.
    Tried using the copy-paste method for wp-login.

    I was able to reinstall 1.2 and it worked just fine.

    Anyone have any ideas?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Delete the cookie file(s) in your browser for your site. Then close the browser, restart it, and try to log in again.

    I’m suddenly having this problem as well with 1.2.

    Did you happen to notice the redirect goes to a repeating URL? “wp-login/wp-admin/wp-admin/wp-admin/wp-admin/”

    Moderator James Huff


    Vinceh, that’s a security hole in v1.2.

    First, fix your siteurl and home values via phpmyadmin.

    Then, upgrade to WP v1.5.

    (my apologies to vjneal for this threadjacking)

    Moderator James Huff


    There’s no real literature except a few scattered forum posts as this was kept below radar.

    What you’ll have to do is follow the normal upgrade procedures to get from v1.2 to v1.5.

    BUT BEFORE RUNNING UPGRADE.PHP, fix your siteurl and home values via phpmyadmin.

    Then, run upgrade.php.

    Also, I ran into some 1.2 problems when I tried to upload the ZIP file and unzip it using CPanel’s built in file manager. Something got messed up in there. Unzip the files locally, then mput* the whole enchilada over to your site.

    I have the same problem and none of the above helps. New install of WP1.5 in a sub called ‘blog’. The blog itself is there. Only wp-login.php redirects to the same page after entering the password.

    Are you sure the username and password are right? If the values aren’t right it takes you back to the login page.

    100 % sure. Also did cut & paste from the e-mail message with the password. Also asked for new password. Keeps redirecting… 🙁

    Moderator Ryan Boren


    WordPress Dev

    Using IIS? See this bug.

    I think I have found a workaround for this problem. I upgrade from 1.2.2 to 1.5, and no longer could load the login page. It has nothing to do with wrong user name or password.

    It seems that when I installed WP1.2.2 using cPanel through the sub-domain of “”, and this seems to be creating problems. I had to change the site URL to “” in order to load the admin login page.

    Now, the only way to change that address is through the admin login, so you really have to do it through your phpMyAdmin.

    Using phpMyAdmin”Databases”, pick your WP_database
    Click the “browse” icon on the wp_options table
    Edit the “siteurl” to the driected url, i.e. if you have a domain “” that redirect to “”, make sure to change it to the later url.

    I hope this works for you all.

    (Re-Hi-Jacked my thread)

    OK ..

    Yes it was the siteurl and home. I set them to http:// in an attempt at having it just work from anywhere.

    I’m hosting this thing from home until I see if its going to go anywhere.

    Since I am work most of the day I would like to access my admin page from work (and also from home when I’m home) without having to constantly change the values of siteurl and home.

    With another website I used to own, the host server was always set up as localhost — those were the settings used for both Url and mysql when I installed the nuke cms package I used then.


Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Admin login redirect not working’ is closed to new replies.