WordPress.org

Ready to get started?Download WordPress

Forums

Restored WordPress but 404? (8 posts)

  1. brettr
    Member
    Posted 7 years ago #

    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

  2. Chris_K
    Member
    Posted 7 years ago #

    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)

  3. Samuel B
    moderator
    Posted 7 years ago #

    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.

  4. bestfoot
    Member
    Posted 7 years ago #

    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.

  5. brettr
    Member
    Posted 7 years ago #

    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

  6. Chris_K
    Member
    Posted 7 years ago #

    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/

  7. brettr
    Member
    Posted 7 years ago #

    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

  8. brettr
    Member
    Posted 7 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.