• I recently moved hosting services and installed WordPress 2.0.5 (I was using 2.0.4) on the new server. I then imported my old database into MySQL 5 (I was using MySQL 4). Then WordPress said I needed to upgrade. I clicked the upgrade link and it completed. That all seems to have gone well. Then I uploaded my old plugins and themes folders. I also uploaded the root index.php file.

    When I go to the blog, I see ” Error 404 – Not Found” in the main part. My domain name hasn’t migrated yet so I’m using a temp URL. Do you have any suggestion on how I can find the file it is referring to?

    Here’s the temp URL: http://site384.mysite4now.com/brettr/blog/

    Thanks,
    Brett

Viewing 7 replies - 1 through 7 (of 7 total)
  • Since WP relies on the URI values that tell it where it “is”, you’ll probably have some issues until that domain name migrates.

    (Options -> General is where they are set)

    Also, from numerous installs I’ve done, WP works much better on some servers using MySQL 4 instead of 5. I’ve cured many errors with a roll back to MySQL 4.

    I agree, the blog is probably looking for the page in a place it should not. When the domain name propogates it will likely clean up. Report back once that occurs.

    Thread Starter brettr

    (@brettr)

    Thanks. Well, I hope MySQL 5 works for me. I think my hosting service lets me switch to version 4 if it’s needed.

    I’ll need to get back into the old blog once the domain name has propogated. The problem is that it will be set to the domain name and keep kicking me over there (new blog), as the new blog is kicking me to the old one (where the domain name is now). Will doing a find/replace in all files on the old blog with “mydomain.com” to “mytempdomain.com” work? Or how else should I do it?

    Thanks,
    Brett

    The URL’s aren’t in any files. They’re in your database. This tutorial should help you locate and set them: http://www.tamba2.org.uk/wordpress/site-url/

    Thread Starter brettr

    (@brettr)

    Thanks. I can do that on the new hosting service but not the old. They don’t have an interface to the MySQL manager. I doubt they will even change this for me. Am I stuck at that point?

    Thanks,
    Brett

    Thread Starter brettr

    (@brettr)

    The old blog is back up. I entered in the old URL through WP admin. The blog now comes up without styles. When I try to enter the admin, I get this error:

    Warning: Cannot modify header information – headers already sent by (output started at d:\home\CYGEN.COM\blog\wp-includes\wp-db.php:368) in d:\home\CYGEN.COM\blog\wp-includes\pluggable-functions.php on line 270

    Do you have any suggestions?

    Thanks,
    Brett

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Restored WordPress but 404?’ is closed to new replies.