A Flame Spreading Tips & Tricks

How to Move Posts from Blogger to WordPress Without Loosing Traffic & SEO

1 10

If you are running Blogger blog and now wants to upgrade your blogging experience by moving to self-hosted WordPress blog, then you can’t forget your old blogger posts on which you spend daily hours. Yes, you can migrate your posts and stuff from Blogger to WordPress by following simple steps that i also used for migrating my blog to WordPress.

First of all, you need to buy hosting and domain name from good provider. I recommend DreamHost or BlueHost as my blog is also running on Bluehost server and i am having a great experience with that. After getting Hosting and Domain, you need to install WordPress on your site from the cPanel.

move blogger to wordpress

Once you have installed WordPress on your site, open your WordPress dashboard by entering to (http://www.yourdomain.com/wp-admin) in your address bar. Now, you are welcome to your new office (dashboard).

Importing posts and stuff from Blogger blog to WordPress

  • From default, there will be a post called ‘Hello World!’ which you have to delete first by going to ‘All posts’ from dashboard.
  • Now go to ‘Tools’ section from left side of dashboard and click Import.
  • Selecting Blogger from that window will open a plugin page of Blogger Importer, you need to click ‘Install Now’ and then activate plugin.
  • After that, you need to Authorize with your Google account on which Blogger blog exists and then select your blog from the list and press ‘Import’.
  • This will start importing posts, images and links from previous blog blogger to wordpress.

Note: In case, the importing tool stops somewhere then you need to press ‘Importing button’ again then refresh the page of your browser, then press import again. Don’t forget to delete Blogger Importer plugin.

  • After importing all blogger posts, images and links to new WordPress site, you have to go to permalinks setting from WordPress dashboard Settings > Permalinks and enter “/%year%/%monthnum%/%postname%.html” in the custom structure and Save changes.
  • There will be many categories that you don’t need, then install plugin “Categories to Tags converter” for converting extra categories to tags.

This will completely import blogger posts to WordPress blog. Now you have to either redirect old blogger blog traffic to WordPress or Delete Blogger blog after importing (Recommended).

Redirection 301: Redirect Traffic from Blogger to WordPress blog

Before redirection, you need to remove custom domain from blogger dashboard from Settings tab (example: xyz.com) such that it looks like (xyz.blogspot.com). Then, go to Templates section and click revert template from bottom. Enter the following code there (above) and save changes. Note: Don’t forget to replace “geeksflame.com” with your WordPress site url.

[toggle load=”show”]

<MainOrArchivePage>

<script language=javascript><!“ var blog_root=http://www.geeksflame.com/; document.location.href=blog_root; //“>

</script> </MainOrArchivePage> <ItemPage>

<script language=javascript><!“ var process_page=http://www.geeksflame.com/bloggerposts.php; var newpage=process_page; var oldlink=<$BlogItemPermalinkUrl$>; newpage+=?p=+oldlink; newpage=newpage.toLowerCase(); document.location.href=newpage; //“>

</script> </ItemPage>

[/toggle]

Then, open notepad from your computer and copy the following code into it then, save it as bloggerposts.php file. Remember to replace geeksflame with your site domain.

require($_SERVER[‘DOCUMENT_ROOT’].‘/wp-blog-header.php’);

$search_link = $_GET[‘p’];

$vars = explode(‘/’, $search_link);

$num = count($vars) – 1;

$filename = $vars[$num];

$slug = str_replace(“.html”, “”, $filename);

$SQL = “SELECT posts.* FROM $wpdb->posts AS posts WHERE posts.post_name = ‘$slug’ LIMIT 1”;

$posts = $wpdb->get_results(“$SQL”);

if ($posts) { foreach ($posts as $post) { $found_link = get_permalink($post->ID); } } else {

$found_link = “http://www.geeksflame.com/”; } ?>

<html>

<head>

<title>Redirecting…</title> <script language=“javascript”><!– document.location.href=” php echo ($found_link); ?>”; //–></script>

<meta http-equiv=“refresh” content=“2;url= php echo ($found_link); ?>”>

You can also go immediately to –

[toggle load=”show”]

“<?php echo ($found_link); ?>”><?php echo ($found_link); ?></a>.</p> <p>The main blog URL is <a href=“http://www.geeksflame.com/”>www.geeksflame.com/</a>.</p>

</body>

</html>

[/toggle]

If you followed above steps correctly, then you have migrated your blog from blogger to WordPress successfully with permanent 301 redirection.

If you are getting any problem then let us know in comments!


1 Comment
  1. Nataliya says

    I would suggest using this tool http://goo.gl/5iX17b. Worked very seamlessly. All my WP pages are now working as they should.

Leave A Reply

Your email address will not be published.