WordPress.org

Ready to get started?Download WordPress

Forums

Changing Host and importing old database (3 posts)

  1. Truth
    Member
    Posted 7 years ago #

    Okay so my host changed server and the domain name so my site was supposed to change too right? So I opened the db in notepad and changed all the urls from the old one to the new one with the find and replace and my hos reuploaded it for me. The things is, the edited one, all the comments disappeared and I have no idea why so I resolved to changing all the URLS manually but I have 100 over post so I can't possibly edit every image url in the post. any idea how to go about doing it? *hope this is in the correct section* thanks :)

  2. MichaelH
    Member
    Posted 7 years ago #

    Don't understand how your host can change your domain name but consider looking through these articles to insure you've got the correct procedures in place.
    http://codex.wordpress.org/Moving_WordPress
    http://codex.wordpress.org/Backing_Up_Your_Database

  3. Truth
    Member
    Posted 7 years ago #

    I looked through this.. and the only part wrong is that in here
    http://codex.wordpress.org/Moving_WordPress

    #

    1. Using a text editor, open a copy of the .sql database file.
    2. Using the search and replace function, find all instances of the blog's old URL and replace it with the new URL.
    3. Repeat the process with your old email address. (For example, replacing someone@example.com with someone@tutorial.com)
    4. Save your changes.

    # Upload your plugins and themes from your old site to the new one.
    # Drop (delete) the database tables of the pre-installed Fantastico web.
    # Restore the database.

    did it! When we restore it.. all the comments disappeared..

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags