Support » Fixing WordPress » Two blogs into one?

  • Hello all! I would have a question. I had a blog which I maintained between 2005 and 2006. Then, when time had come for a new beginning, I backed up the blog and I moved from that host to a better one. I started a new blog without minding to restore the old one.

    Now times have changed and I want to concatenate the old blog to the new one. I tried to ran a query on the .sql file with everything stripped except comments, posts, post2cat and such, but I bump into an error (#1062 – Duplicate entry ‘2’ for key 1 )… I was expecting this, since the backup and the current database both start from the entry with key 1 and go up simultaneously…

    So, what can I do? Any suggestions? Please help me…

Viewing 1 replies (of 1 total)
  • either write a perl script to cure the index problem by renumbering, or create a second WP install within the same db in a subdir like /old or whatever, and a new set of tables called something like wp2_ , those would likely be the two simplest (or quickest anyway) solutions.

Viewing 1 replies (of 1 total)
  • The topic ‘Two blogs into one?’ is closed to new replies.