Merging two wordpress blogs

May 5, 2009
Tags: ,

Over the weekend I merged the old blog at ewritecork.com/blog into this blog. I didn’t put much thought into how I would merge them beforehand, I just went to the wordpress tables in the database and started to export them.

Quickly enough I realised that I’d run into a bit of work having to import the various tables and update the post ID’s and so on. I Googled ‘merge wordpress blogs’ and it pointed me to Merging two wordpress blogs . After a quick read I found out about the built in export option in Wordpress which I had never used before.

I went in to the old blog, went to Settings -> Export and it exported the posts, comments, authors etc into a nice neat XML file. Back in this blog I was able to import this XML file without a bother at all.

Its a very handy feature, it saved me messing with the tables directly so I thought I’d post it up here so it might be of use to someone else.

The old eWrite blog is now gone and I put the following htaccess file in its place.

RewriteEngine On

RewriteCond %{HTTP_HOST} ^.*ewritecork\.com$ [NC]

RewriteRule ^(.*)$ http://www.gordonmurray.com/$1 [R=301,L]

This directs any traffic from the ewrite blog to this blog, including any link to a specific blog post.

One Response to “Merging two wordpress blogs”

  1. This could come in useful Gordon - thanks for posting it.
    The new site is cool - well done and best of luck for the future :-)
    Joe

Leave a Reply