Our blog: Ashtricks.com will be migrating to wordpress very soon. And it was this time when i found that there was no easy way to transfer from wordpress to Ghost. And hence i decided to make this post on doing the transfer without a hitch and for free.
go to> Comments> Disqus
Now, adding a disqus widget to your theme at ghost will add the comments to your site. As simple as that.
2. Exporting Pictures
This is by far the most irritating thing as ghost doesn’t have a good image handling engine. To do this you will have to install this wordpress plugin called W3Total cache.
Note: IF you have your own CDN, then these steps need not be taken.
After clicking on the general setting> Scroll down to the CDN section and select Amazon
Once that is done> Go and register a free AWS Account.
Get your AWS details and enter them here:
This might take some time, depending on the amount of pictures you have on your site. But once it is done all the images on your site will will be replaced by a cloud front URL. – http://dyan2gu8q95ak.cloudfront.net/wp-content/uploads/2014/07/Disqus.jpg
The only thing changed is the domain which means that the images have been exported.
And last but not the least. posts
The option will automatically download a Json file with all the information.
This is where some tweaking will have to be done.
You have to open the .json file in a text editor: Recommended- notepad ++
This is be very long and will take lots of time to load : Kindly do the following
1. search for www.ashtricks.com/wp-content
2. and replace it with your own cloud front URL : dyan2gu8q95ak.cloudfront.net/wp-content
Then Click on replace ALL.
And thats it ! You have now successfully exported WordPress to Ghost. This json file which when imported to your ghost account will display everything correctly 🙂
Kindly comment if you have anymore queries.