How to migrate step-by-step from Blogspot to Dreamhosted WordPress

In this article I want to write an easy, step-by-step guide on how you can transfer your blog from a free account hosted in Blogger to a Dreamhost powered WordPress installation. I’m writing this now as my memory is quite fresh from my recent migration and hopefully this will come useful to others who might be thinking of doing this themselves.

Registering a new Dreamhost account

  1. Follow this link
  2. Press the “sign up now”
  3. Select “Host a Domain” as the other choice is just to get a new domain name through Dreamhost
  4. In Step 2 Select the yearly option as it’s the most sensible for someone with a low budget.
  5. In Step 3 You don’t need to select anything unless you plan to run a lot of heavy scripts and have a bit of traffic.
  6. In Step 4, Uncheck Google Apps if you want to use Dreamhost’s custom options. This is a good option if you just a WordPress blog for now. You can always turn it up later.
  7. In Step 5, leave it as it is, and type the domain name you would like and a username for your ftp access.
  8. In Step 6, fill your information in.
  9. In Step 7 type dbzer0 to get 20$ off or dbzero@gmail.com if you want to be extra nice to me 😉 Check the Box and go to Payment
  10. Go through the payment stuff and wait until you receive the “DreamHost Account Approval Notification!” email.
  11. Follow the email link and put your credentials to find yourself in your Panel.

Setting up your domain

You’ll find yourself in the Overview pane. From here you can follow various links to manage your stuff. Start by clicking the Manage Domains button (Also found in the sidebar under “Domains”)

If you created a new domain in the previous part, you should see it now in the list. Press the “Edit” Button next to the “Delete” button in the middle.

In the next screen the only things you should change are the following

  • Switch your PHP version to 5.x. PHP 4.x is obsolete and you’ll run into problems with plugins and the like if you keep using it.
  • Further down where it says “How do you like the www in your URL?” don’t leave it as “both”. Select the “remove www.” as this will help Search engines find you better.

Press “Change fully hosted setting now!” to complete this step.

Installing WordPress

Now that our domain settings are ready, lets go ahead and setup our WordPress installation. Start by heading over to One-Click installs (from the sidebar it’s under “Goodies > One-Click Installs”

  1. Click “Install new software (Advanced Mode)” (Easy mode is similar hosting it on wordpress.com)
  2. Preparing wordpress to be installed
    Preparing wordpress to be installed

    WordPress should be already selected so simply scroll down. You should see an image similar to the screenshot on the left.

  3. In “Install to” you should see your domain. Leave it as it is, unless you want your wordpress site to a subfolder of your domain (ie /blog/). However I don’t recommend this. First because you can later on configure wordpress to show your posts under something like that and secondly because you’ll have to create some kind of splash or home page on your domain root for people falling there. This will probably be different from your site and won’t be counted in your wordpress stats.
  4. In “Select database to use” you should have the option to write your own database name. The default probably will not work so change it to something obvious for you. An example is yourblogname_wp_db
  5. In Hostname, you can just leave it as it is.
  6. In Creating a user for the database, you can simply create the same user as for your ftp access so to cut down on things you have to remember. You’ll probably never use this anyway so it’s easy to forget if you put something new.
  7. Press “Install it for me now”. it will load for a bit and then the page will reload and on the top you should see something similar to this:
  8. Within 5 to 10 minutes, you should receive an email telling you that your installation is ready.

Setting up your WordPress and importing from Blogger

Our Blog Waiting
Our Blog Waiting

Now that you’ve received the funky Dreamhost email follow the handy instructions within.

  1. Go to the install link and create your first user.
  2. Login to your site

That’s it. Your first wordpress site is now ready 😉

Lets proceed to import your blogger site now

  1. Go to Import (follow the link in the email or in the admin panel head to “Manage > Import”
  2. Click on Blogger
  3. Click Authorize
  4. Click “Grant Access” in blogger.
  5. You will now see all blogs you are managing in blogspot. Click on the “Import” Magic Button and wait a few seconds to minutes (depending on your old content)
  6. If you’re using feedburner (and if you’re not, why aren’t you?!) go to your feeds, then to your blogger feed, and click “Edit Feed Details”. In the “Original Feed Location” replace your old blogger feed location with the new wordpress one. This is always in the form of http://yourblogurl/feed.
  7. If you’re not using Feedburner, first go and create a feed for your wordpress installation. Then go to your old blogger blog settings > Site Feed. In the “Post Redirect Feed URL” put the new feedburner feed you just created which has your new wordpress feed as its source. This will transparently migrate all your old readers to your new location
  8. Write a new post on your blogspot blog that you have moved and point to your new location. Once we setup your plugin installer, we’ll set up your blog to automatically redirect each post to your new location.

That’s it. You have now successfully migrated from Blogger to WordPress 😉 In a next post I will explain how to migrate Intense Debate Comments as well, since the wordpress importer does not grab those automatically.

There’s one last thing that you might want to do which is to inform your readers that you’ve changed location

Finishing touches

Currently you should have created your wordpress site and migrated from blogger but you are probably at a very basic state. You should at this point configure a few options to make your life and look easier.

Settings

  • Settings > General
    • Put a Tagline for your site. This will both be shown on your theme but also probably be seen by search engines as well.
    • Configure your time so that the times you schedule and post are the ones you expect
  • Settings > Discussion
    • Under “Before a Comment Appears”, uncheck “Comment author must have a previously approved comment” This will reduce your management overhead.
    • Under “Comment Moderation” increase the number of links to 3 since it is not uncommon for a non-spammer to include to links in the same post.
  • Settings > Permalinks
    • Here you should set your permalink structure. That is the way your posts will look at your blog. While you can leave it as the default ?p=123, this generally looks ugly, is not rememberable and search engines don’t like it.
      Many people select the date based permalinks but I personally do not like that choice. This kind of setup is only appropriate for newspapers really. The only ones who should be using this are the ones who are writing an actual journal.
      My advice to you is to use a either a custom structure or a category based one. In a custom structure, you can use the simple /%postname% option which will make all your articles show on the root (ie http://dbzer0.com/this-is-a-post ) or put something in front to make it differ from pages. I prefer /blog/%postname% but it’s up to you.
      In a category structure, your posts will show under each category which is nice but if you tag sometimes in more than one category, an article may show under an undesirable one.In any case, whatever you choose does not need to be permanent. Even if you change your permalink structure in the future, wordpress will automatically redirect links going into a post that has changed location correctly so don’t agonize on making the perfect choice now.

Plugins

Plugins are the most exciting part of having your own wordpress installation. I’m not going to go into much depth but I want to mention how to set your installation up to allow you to install and manage plugins from the wordpress admin interface (instead of setting up ftp connections each time). Unfortunately we cannot avoid using FTP the first time.

  1. Use your favorite FTP client to setup a connection to your server. I recommend the excellent fireftp which you can use without installing software on your PC.
  2. Setup your connection in your ftp program of choice. In Fireftp:
    1. Select “New Connection”
    2. Find your webserver name in the "Machine" column or under "Account Status"
      Find your webserver name in the

      Find your server name. You can find this in multiple locations:

      • In the automated emails your received
      • In your dreamhost panel by going to Users > Manage Users and looking at the “Machine” column
      • At the dreamhost panel, clicking on “Account Status” on the top and looking at “Your Web server”
    3. In server name, put your server name followed by .dreamhost.com (e.g. dodo.dreamhost.com)
    4. In user name, put the user your created for your account
    5. In Password, put the password you created. If you do not remember it, you can change it from Manage Users again by clicking on “Edit”
    6. Press OK.
  3. Connect to your server. You should now be in a folder where your domain exists as a subdirectory. Enter that directory and then navigate to Wp-content > Plugins.
  4. Download the One-Click Plugin Updater and extract its contents somewhere on your PC.
  5. Using your ftp program, upload the plugin directory into your wordpress Plugins directory we navigated before.  In Fireftp:
    1. On the left-hand side of the split-screen, navigate to the place where you’ve extracted the zip file.
    2. Make sure that your right screen is showing the contents of youblog.com/wp-content/plugins (you should be seeing other folders and .php files like wp-cache/ and hello.php)
    3. Select the directory and click the little arrow pointing to the right between the split-screens.
    4. Wait until the job is complete.
  6. Go to your plugins admin page (Top right)
  7. Scroll down to where it says “Inactive Plugins” and activate the One-Click Plugin Updater. This will make your plugin page show a little differently. Namely you should see yellow bars next to various plugins.

That’s it. Now you have the ability to install new plugins and themes without using ftp and without even downloading and extracting files on your PC. Just follow the instructions that you can find in the “One Click Updater Miniguide” in your Dashboard.

So that’s it.

Hopefully this guide will help any of you who are thinking about self-hosting but don’t want to trust me or want to learn to do it yourselves.

If you see anything I forgot or something I should include or make simpler, let me know.