Until now, I was blogging using Ghost platform over Openshift. I love the way you develop new features over the Ghost platform: Handlebars for the templating, an easy API to get information about the blog and their posts… and you are using the Node.js on the backend so you’re feeling a little bit hipster while you’re using it. But the last update of the platform over Openshift was a really pain trying to update it with no success. After some hours after, I decided to sadly abandon the Ghost and migrate everything to Wordpress.
CMS usage statistics https://trends.builtwith.com/cms
Wordpress is the most used CMS/Blogging platform. There is a huge documentation about how to use and develop over it and countless plugins and themes free and paid to try and use. Easy to use but not so easy to develop or trick the themes as it was with Ghost. Even so I have to admit it, Wordpress rocks!
Installing Wordpress on Openshift
Simply a click on the Wordpress option. No need to specify any git url for the project, it's all included and mantained with autoupdates by the Wordpress itself.
Click the Add application ... button and in the next screen search for Wordpress.
Everything will be installed and auto configured, ready to use.
Importing posts and media from Ghost blog to Wordpress blog
Importing the data is the most important. You don't want to loose your work in the process so you should be carefully...
For sure you can do an export/import operation. You can export the data of your Ghost blog from Settings > Labs > Export button, this will return a json file. The data in json format should be transformed into a format readable by Wordpress in order to be imported with the Tools > Import > Wordpress option. You can use a tool like http://ahmed.amayem.com/ghost-json-export-file-to-wordpress-xml-import-file-converter/ to do the transformation but you have to be sure that all url references are correct linking to existing media ...
Another option, which I preferred to use in this case, is using the Tools > Import > Rss option. I took the Ghost blog rss url (usually http://your-ghost-blog/rss ) to import the published posts. All posts where correctly imported keeping the HTML final format, but all media whas pointing to the Ghost blog media resources. So the next step is import the media.
Import external media into your Wordpress media gallery
The plugin used was Auto Upload Images By Ali Irani
Auto upload images settings
This plugin takes the media linked on the post and autoupload it to Wordpress Gallery when you save the post. This means you need to edit all posts, but you can do it easily with the bulk edit option in Wordpress.
Bulk editing posts on WordPress
After these easy steps you will have all your content published on Ghost blog into your Wordpress installation.