Support » Fixing WordPress » Move from One WP install to Another

  • Hey everyone, I need to move a bunch of posts from one WordPress 1.5 blog to another currently running WordPress 1.5.1 blog. I need the posts to be integrated into what I already have. So more like Merging posts from two blogs into one. Any ideas?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Nada ?

    Mark (podz)


    Support Maven

    Well ……. 40 minutes after posting …….

    My initial answer would be No – it is far far too complex a task.
    – how many posts
    – how many comments / pings / tracks are involved
    – any more information which could be considered remotely useful.

    So merging blogs = too difficult. Plugin someone!?

    There are currently 25 posts and 4 comments, contained within 20 categories.

    And why is it so difficult a task?

    And thanks for the reply 😀

    Mark (podz)


    Support Maven

    Each post has an ID
    Each comment has an ID
    Each post has something which relates it to any comments and it’s category
    A table exists which matches all that stuff together
    Each database is a self contained ‘thing’
    If that was the absolute minimum, then for things to match up in the new database, everything has to be changed over, matched up, checked for potential collisions … not easy, and beyond a plugin I would magine.

    25 posts ? You could do it manually ?

    Yeah, I could do it manually, but I’d lose the comments, not that there are many, and I was hoping their was a way around doing it manually.

    I understand what you are saying, but here is what I see needing to be done.

    Export everything as SQL file.
    Have an application to upload it.

    Code grabs posts, looks at current last post number of blog that is going to get the new posts and then renumbers transferred posts based on that. (so if your last post id was 200, the newly transferred posts start at 201). [The only other thing it’d have to change is the categories of the posts ?]

    The code then does the same thing for comments.

    While it is doing this it keeps the information in two arrays to track what the numbers were and what it has been changed to

    It then uses those arrays to put in the comment linkages so the comments are related to the posts.

    Would something like that not work? Then you could merge tons of wordpress blogs as long as they were all from the same version.

    If you write the code you are welcome! 🙂 Probably others could use it, too.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Move from One WP install to Another’ is closed to new replies.