• Home
  • Blog
  • Contact
comm
32

10 Step Guide To Moving From Blogger (Blogspot) to Wordpress with a 301

Posted in Wordpress Tips on August 31st, 2009

Move from Blogger to Wordpress with a 301

Moving from blogspot.com subdomain hosted with Blogger and want to make the upgrade to your own server with Wordpress?  I had to do this for a client and had a lot of trouble finding a guide to do this in a way that would definitely preserve SEO.

Using this blogger to wordpress migration guide, Google will re-index your site using your new top-level domain, all your old posts/pages will be re-indexed, and anyone visiting your old posts or website will be redirected to the new corresponding location.  Sounds to good to be true?

In this guide we will use 301s to redirect from blogspot to your new domain as that’s only way to be sure that Google and other search engines will index your website’s new location.

1. First things first, we need to set up our top-level domain as a Blogger custom domain. To do this, you need to modify your new domain’s DNS to point to the Blogger service.  Once the DNS is set up, you simply add your custom domain to your blogger domain settings.  Here are the detailed instructions on how to add a custom domain to blogger.

The good news: When people visit your old site, people will be redirected to the new custom domain.  Even old posts/pages will redirect to the correct locations.

The really good news: Blogger adds a 301 redirect on your old blogspot subdomain so that Google and other SE will know that your site has permanently moved.  This means that Google will start replacing old links in their database with the new pretty TLD links.  (Example: mywebsite.blogger.com/hello-everyone.html will be indexed as mywebsite.com/hello-everyone.html)

2.  The waiting game. It can take a few hours to a few weeks for Google to re-index the correct links. It’s important that we wait until the new links are indexed before moving to the new server or our Wordpress installation.

3.  Set up the custom domain and install Wordpress on your server. Remember, we are not changing DNS yet so people will still see the custom domain hosted at blogger until we are fully migrated to Wordpress and ready to pull the trigger.  For working on this domain while it’s still on your server you’ll need to modify your hosts file.  Once your hosts file has been modified to point your TLD to your server, and you’re closed and re-opened your browser, you’re ready to install Wordpress.  Go ahead, install Wordpress on your domain.

4. Use the Wordpress migrate tool to import all your posts and comments. You can find the migration tool via Tools -> Import -> Blogger and then follow the provided instructions.

5.  Permalink settings. You’ll want to change the Wordpress permalink settings to match the Blogger structure (can be changed later, but for now you’ll need to keep them) which is “/%year%/%monthnum%/%postname%.html“.

Another roadblock is that blogger cuts off long URLs and also removes common words from it’s permalinks.  Wordpress does not.  That means that some of our old redirected links wouldn’t find their destination on the Wordpress version of our site as the links wouldn’t match.  Have no fear, there’s a plugin that does the job of making Wordpress slugs match their blogger counterparts.  Special thanks to Justin for this useful plugin –>  Plugin to preserve blogger links when moving to Wordpress.  Follow steps 1 – 6 on that page for instructions.

6. Set up redirects via .htaccess. You’ll need to redirect your old category pages to link to the new Wordpress category permalinks.

7.  Links in your sidebar. Add any hardlinks you had on your blogger installation to the Wordpress blogroll as these weren’t migrated over.

8. Design. Find a custom Wordpress theme to install so you can have a nice design vs. the default Wordpress theme.  Tons of options out there.

9. Revert hosts file. Change your hosts file back to normal, removing any entries you made for the custom domain.

10.  Pull the trigger and change DNS. Once you’re links in search engines have been updates, thanks to the 301 we set up, we are now ready to make the big change.  The last change is to point your DNS to your own server, away from Blogger.  This may take anywhere from a few minutes to a few hours to take effect, but eventually when you access your site again, you’ll see your website on your host using Wordpress as it’s CMS.

11.  Last step, redirects for links pointing to your old address. After changing DNS to your own server, the 301 that Blogger provides will cease to work.  This means that any links pointing to your old blogspot address won’t redirect anymore.  To fix this important issue, use a JavaScript redirect on your old blogger site to prevent breaking any links that still point to your old address. Justin has provided a JavaScript snippet that does exactly that.  You can find that snippet for JavaScript to redirect from your old blogspot URLs here.

OK, it’s now officially an eleven step guide. :)

Congratulation, you’ve just migrated from Blogger to your own server running Wordpress!

comm
2

Speed Up Wordpress Performance

Posted in Wordpress Tips on May 18th, 2008

For low traffic usage, Wordpress performs fine and you may not notice that it can be quite heavy on server resources. However, if you do get more traffic than a few visits a day, then there is an essential plugin to speed up Wordpress by using a method called ‘caching‘.

Normally, everytime a visitor comes to your site, Wordpress connects to your database several times to output your posts and comments. What this caching plugin will do is save static versions of your pages once per hour and show that page to visitors instead of generating the pages from scratch for every single visitor.

I installed the plugin, wp-supercache, on several medium sized sites, and saw a HUGE decrease in server resources being used. Your server and host will love you for not using up resources and your visitors will love you for having a really fast responsive site.

Download and Install wp-supercache today!

comm
3

Thumbnail For Your Wordpress 2.5 Posts

Posted in Wordpress Tips on April 4th, 2008

For a recent project of mine, I wanted my Wordpress site to have posts listed on the front page, but wanted the option to include a unique thumbnail for each post that would sit pretty under the title.

I came across a nice tutorial after a little Google searching and found this great article on exactly how to do it.

It’s absolutely perfect, just that once you do this, all your posts need to have a thumbnail, otherwise there will be a missing placeholder where the thumb should be. In my case I wanted to have the ability to either use the feature or not to use it.

From using the foundation of Blogging Bits’ code, I just added a statement to check if the image has been added assigned to the post, and if not, the thumbnail code is ignored. If this is something you want to do, check out Blogging Bit’s tutorial, and if you want to add my modification for the option not to always need a thumb, here it is:

<?php
$thumb = get_post_meta($post->ID, "thumb", true);

if ($thumb != "")
{ ?>

<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>">
<img src="<?php $values = get_post_custom_values("thumb"); echo
$values[0]; ?>" alt="<?php the_title(); ?>" class="thumb" />
</a>

<?php the_excerpt(); ?>
<?php } else { ?>
<?php the_content(); ?>
<?php } ?>

 
Remember, I’m not a professional PHP programmer myself but I’ve tested the code and it seems to work. Good luck, I hope it helps!