• Hi,

    I just moved my site to a new server and the page loads and all the links work.

    But when I try to login to admin I get a 404

    wp-login.php

    Any help would be appreciated.

    thanks,

    Mike

    Version 2.7

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes, I was having the same problem. I could see the wp-admin directory when I used my file manager and when I used my FTP cient, but when I browed to http://www.ahsgerman.com/wp-admin , I got the message, “Not Found Sorry, but you are looking for something that isn’t here.”

    After I completely removed the .htaccess file, I was able to log in and get back to the admin dashboard. I then had to update my permalinks settings and that seemed to take care of everything.

    I do now know if that will help you, but it did work for me.

    Good luck!

    Best regards,
    Art

    Hi there,

    Seem to be having the exact same problem as redbourn. I tried the trick Art suggested – no luck there, either… 🙁 For the record, am running a WP version 2.8 (Not sure if I did auto-upgrade to 2.8.1, sorry!)

    I recently moved webhosts – and that’s where my problems began. Here’re the painful details of the moving process:

    On my prev-webhost:
    1. Backed up my Home directory
    2. Backed up my SQL database thru
    The above was done using the CPanel 11 Backup Wizard

    3. Restored the Backups using CPanel X on the new-webhost in the following order:
    a. Home directory
    b. SQL database

    4. Had to over-write my (WP root) index.php to a fresh one from the 2.8.1 WP installation ZIP – since the prev one had a 403 Forbidden error *pasted* into it by my (stupid & incompetent) webhost (pardon my french)

    5. Added a SQL user for the (restored) database – granted all privileges to the user

    6. Made corresponding changes in my wp-config.php ($DB_USER, $DB_NAME, and all that)

    7. Changed the directory path to my new-webhost path in my .htaccess – this was because I had added a few instructions for my “Pretty Permalinks” to work properly in my previous installation.

    Now the site loads correctly – but I get a 404 whenever I try to bring up the login page (/wp-login.php) or the admin-page i.e. /wp-admin/

    Also, submitting a comment also brings up a 404 error…

    Please, someone help!! 🙁

    Okay, mine issue has been resolved.

    It was my stupidity actually.

    The file permissions need to be 755 not 644. I never checked the file permissions, assuming they would retain the ones they had before.

    Yup, that’s IT. Silly me, I know. But I think I’ll make a WP post out of all this. I guess someone else somewhere my also be struggling with the same thing – and maybe, for the same reason. Who knows?

    Thanks.
    Shrikant
    http://42quirks.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘site loads but wp-login.php causes 404’ is closed to new replies.