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:

0  4  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:

0  cLwwoQ921XCKlseB

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

0  PP2buQ  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:

0  33SnB7v1sJKaZ  Yn

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

0  a96XwZniHjujjpf6

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:

0  65YPxLht  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.

Written by Victor Leung who is a keen traveller to see every country in the world, passionate about cutting edge technologies. Follow me on Twitter