Migrate blog from medium to ghost 3.0

November 03, 2019

Ghost 3.0 just released. (https://ghost.org/3/) I hate Wordpress with PHP but love Ghost with Node.js. It is open source and the dark theme is pretty cool. So I decided to switch my blog from the medium platform. However, there is a homing cost and it’s not straight forward to migrate. Here are the steps to unstuck yourself and take the ownership back:

Step 1: Export medium post

Click Setting in medium and find the section to download your information:

1b45a 04 cagbmmzt5dfkqs

Step 2: Import to Wordpress.com and export the file

Open a free account in Wordpress.com and at the import section, there is an option to import from medium:

22c84 0clwwoq921xcklseb

After a successful import the content from medium, you can export the file in Wordpress.com

be36c 0pp2buq arhpwk2md

Step 3: Import the file to Wordpress.org via plugin and export the file

You can download an open-source Wordpress from http://wordpress.org/ and run it in your local with MAMP ( https://www.mamp.info/en/). Copy all the wordpress files and put it in the /htdocs folder of MAMP. Start the server and you can run the local Wordpress with MySQL installed.

Click on the import section, and there is an option to import from Wordpress:

f3432 033snb7v1sjkaz yn

Next, install the official ghost plugin: https://wordpress.org/plugins/ghost/ and you can export the blog posts via the plugin:

32fac 0a96xwznihjujjpf6

You can download the Ghost file, but somehow it doesn’t work for me. Try click the download .json file instead.

Step 4: Import to ghost blog

In settings, Labs section, import your file in ghost:

d439f 065ypxlht yf bqjb

Finger crossed! If everything goes well, you should be able to see all the medium posts now migrated to ghost 3.0. Keep blogging :)


Originally published at https://victorleungtw.com on November 3, 2019.


Profile picture

Experience in software development, application architecture, and deploying cloud solutions for enterprise customers. Strong hands-on skills with a Master's degree in Computer Science and business acumen with a master of business administration (MBA) in Finance. Certified in Amazon Web Services (AWS), Google Cloud Platform (GCP), Microsoft Azure, Kubernetes (CKA, CKAD, CKS, KCNA) and Scrum (PSM, PSPO) with experience in building banking products from scratch. Connect on Linkedin

© 2022, @victorleungtw