How to migrate a WordPress.com blog to your own WordPress hosting

I’ve done this enough times to figure out how to do it without screwing everything up.

Suppose you start a project on a free WordPress.com, and, as it grows, you want to move it to a self-hosted platform version of WordPress, like I did with this site and NEast Philly and my thesis and others.

So, in case you need to do the same, here are the steps:

    1. From the Tools option in the WordPress.com sidebar, choose to Export.
    2. Download the XML Export file, being mindful that all fields in the drop down menus are chosen, so you are downloading everything.
    3. Open in Wordpad and change your file extensions with a Search and Replace. i.e. So, in the XML file from my thesis site, I replaced ‘phillypolitics.wordpress.com/’ with ‘thesis.christopherwink.com/’, meaning that the links would then associate
    4. *Make sure permalinks are the same from your WordPress.com to your new site.
    5. From the Tools option in your new self-hosted WordPress platform, choose to Import.
    6. Browse and choose to Upload the XML file that you downloaded from your WordPress.com and then edited in Wordpad.
    7. **Easy-to-miss step** Upon selecting your XML file, under ‘Import Attachments’ be certain to check off the box next to ‘Download and import file attachments’ so that your photos and other uploaded media will be transferred to this new database. (I’ve missed this step before to much frustration).
    8. Delete the old jawn — Take down the old WordPress.com or, if you want to transition some search engine love, you can block the WordPress.com from being picked up by search engines but keep it alive for old links with a post pushing to the new site and eventually delete.

      Leave a Reply