Recently I upgraded this blog from Wordpress to Octopress. I’ll walk you through on the process I followed.
I’ll assume you already have Octopress up & running, if you don’t you can follow setup instructions at Octopress.
Now let’s export your Wordpress data, go to http://yourblog.com/wp-admin/export.php and select to export all your content.
This will give you a
.xml file which we will use to transfer your
comments to disqus after transfering your posts.
To transfer your posts we’ll use a tool called exitwp
Let’s start by cloning the repo
.xml file into
wordpress-xml folder and check if it’s
1 2 3 4 5
Run the converter
This will generate your posts inside
, copy all the posts files into your posts files
You have now finished exporting your posts to your Octopress blog; now let’s export the comments to Disqus.
First create an account at Disqus
After you’ve created your account let’s Register your website at Disqus
Take note of your ‘shortname’ we will be using it next.
Now let’s add Disqus to your blog, open your
Find the comment
#Disqus Comments and add your shortname on
disqus_short_name: myblog this will automagically setup Disqus on your blog.
Now lets import the comments on Disqus, we will be using the same
Visit the admin panel then click on Discussions and select your newly created site.
Inside here click on Import and the Wordperss import should be already selected, click Choose File and select your
Click Upload and Import
This will upload your current comments to Disqus, if your url’s won’t change you can stop here and in a few hours all your comments will be appearing on your new blog! But if your url’s will be chaning you have to map the old url’s with the new url’s.
To do this click on Tools (on the same page you clicked Import) and select the most appropiate method for merging threads, in my case I used Url Mapper.
Click on the link that says
you can download a CSV here that will
email you a CSV file which will contain all the old url’s, you will
have to map this url’s with the new one’s.
Upload URL maps in CSV format (comma separated value). The correct format is:
You can also add a 3rd party theme to further customize your blog.
Don’t forget to run
1 2 3
Which will make all the static files for your website.
You have successfully upgraded your Wordpress Blog to an Octopress Blog, now just Deploy your blog.