Octopress: Migrate Disqus Comments From WordPress

Last week I migrated my blog from WordPress to Octopress and find it very cool blogging engine. Though, migraiton of posts and pages was quite easy but migration or you can say linking of Disqus comments from WorlPress pages to Octopress was difficult. I tried lot of different options but could not relink the Disqus comments.

Then I read the Disqus documentation and advanced migration options, and I found a options using that we can relink our comments properly to new bloging urls.

If you read Tools option under Discussion tab, you will find a option “Upload a URL Map”. There it says if your blog urls or slug was changed you can provide a CSV file which maps your old urls to new urls.( Left side old urls, Right side new urls) In my case CSV file format was similar to given below format.

http://vishnuatrai.in/?page_id=2, http://vishnuatrai.in/about/index.html
http://vishnuatrai.in/?p=115, http://vishnuatrai.in/blog/2010/10/12/managed-rake-tasks-rake-migration/
http://vishnuatrai.in/?p=132, http://vishnuatrai.in/blog/2010/11/01/why-nosql/

The Disqus Crawler runs and relink your comments to new urls.

Reference

http://help.disqus.com/customer/portal/articles/286778-using-the-migration-tools