WordPress.org

Ready to get started?Download WordPress

Forums

How to import posts from sql backup file into a fresh wordpress installation (6 posts)

  1. shumdesign
    Member
    Posted 4 years ago #

    I changed my URL and lost a blog in the process. I did a fresh wordpress install and would like to import the contents of the posts into the new wordpress site. How do I do this? Do I just add the posts to the posts table?

  2. shumdesign
    Member
    Posted 4 years ago #

    I just need the posts, I don't mind that I don't have other functionality.

  3. esmi
    Forum Moderator
    Posted 4 years ago #

  4. shumdesign
    Member
    Posted 4 years ago #

    what if I only want to import some of the tables? Same process?

  5. esmi
    Forum Moderator
    Posted 4 years ago #

    Importing just some of the tables could be tricky as there are cross-table relationships to take into consideration.

  6. shumdesign
    Member
    Posted 4 years ago #

    I was able to do an insert of my posts table and it worked. I didn't need the comments but if I did I would also do the same insert for the comments. This seemed to be the cleanest way and worked great.

Topic Closed

This topic has been closed to new replies.

About this Topic