Yesterday I moved my blog from wordpress.com to my own hosting provider giving me greater control over my blog. This was quite an easy process but thought I would document the steps I took here incase it helps anyone else.
Firstly I installed wordpress on my new host. I then used the Import and Export options in Tools to import all my posts, categories, images etc into my new blog. I then opened up the SQL Admin tool provided by my host and ran some update queries to update any links and image references to use my own domain instead of the wordpress.com domain.
At this point the blog was running but was using the default theme so I downloaded the theme I was using on wordpress.com and installed it.
Now everything looked okay apart from my source code samples. I tried quite a few plugins that provide source code markup but I really wanted to find the one wordpress.com used as I liked the format it used, and I didn’t want to have to replace all my source code tags to use those of another plugin. After a bit of hunting around I found SyntaxHighlighter Evolved, which looks to be an updated version of the plugin wordpress.com uses. After installing it all my source code example worked without having to update the tags, whoop!
Something else I liked on wordpress.com was the stats plugin they have, which uses Open Flash Chart written by my brother-in-law. Doing a quick Google search brought up the wordpress.com Stats plugin. It requires a wordpress.com API key but as I’m moving from wordpress.com that’s not a problem. When activating the plugin it asks for the API key which can be found on the account page of wordpress.com. It then asks you to confirm you want to link the new blog to the wordpress.com account.
Now my blog looks and works pretty much like my wordpress.com one, but they are two separate blogs which I don’t want. What I really wanted to be able to do was forward all the posts on the old blog to the new blog as I didn’t want google search results going through the old one. I found this post which has a handy tutorial on how this can be done. It requires switching your name servers to the wordpress.com ones and adding your domain via the wordpress.com admin panel, costing you USD10. Once that is done you can set your new domain to be the primary domain for the blog, then switch the name servers back and voila, the old blog redirects to the new one.
All in all this was quite painless, I’m now on the hunt for a decent theme!