How to migrate your site from blogger to wordPress.


Learn to migrate all your site contents from blogger to WordPress with simple steps. This step by step tutorial will help you to learn out this.

Many beginners used to create blog in blogger. The blogger is the Google site which will provide more traffic to your site. once the site get popular, They wanted to switch our their from blogger to WordPress. Because of,  Customization is easy in WordPress.

Once they decided to switch over from Blogger to WordPress they get into an doubts wheather all my stuffs including post, comments and RSS followers will get migrate to wordpress site??..obviously it will too.

It’s very easy to migrate all your contents from blogger to WordPress site. Before get into this tutorial. Create an blog in Bloggers and WordPress.

This is icon for social networking website. Th...

Blogger

TO

WordPress
WordPress

1) Login  to your WordPress account and then move to Dashboard. Do the same things to blogger too.

2) In WordPress Dashboard go to ” Tools and then to Import “. Then Select Blogger in the next page. Select Blogger. For the first time user Authorize your account and select your Blog.

3) It will show your blog name in the top left corner then click on the import button then all your contents from Blogger will get migrate to WordPress site. Depends on the size of your blog it will get time to migrate wait until it finishes.

4) Once it finishes, then go to your WordPress site and then refresh it all the contents from your Blogger is migrated to WordPress site including comments and more.

5) You may refer your Blogger site address in many places as your own site. In such case. Do the Following steps.

a) Go to  your Blogger Dashboard then to  Template and then select the Classic template then click on the classic template link Replace those code with the following code.

  1. <html>
  2. <head>
  3. <title><$BlogPageTitle$></title>
  4. <script>
  5. <MainOrArchivePage>
  6. window.location.href=’https://techmarketblog.wordpress.com/&#8217;
  7. </MainOrArchivePage>
  8. <Blogger> <ItemPage>
  9. window.location.href=’https://techmarketblog.wordpress.com/?q=<$BlogItemPermalinkURL$>&#8217;
  10. </ItemPage> </Blogger>
  11. </script>
  12. <MainPage>
  13. <link rel=”canonical” href=”https://techmarketblog.wordpress.com/&#8221; />
  14. </MainPage>
  15. <Blogger><ItemPage>
  16. <link rel=”canonical” href=”https://techmarketblog.wordpress.com/?blogger=<$BlogItemPermalinkURL$>&#8221; />
  17. </ItemPage></Blogger>
  18. </head>
  19. <body>
  20. <MainOrArchivePage>
  21. <h1><a href=”https://techmarketblog.wordpress.com”><$BlogTitle$></a></h1&gt;
  22. </MainOrArchivePage>
  23. <Blogger><ItemPage>
  24. <h1>
  25. <a href=”https://techmarketblog.wordpress.com/?blogger=<$BlogItemPermalinkURL$>”&gt;
  26. <$BlogItemTitle$>
  27. </a>
  28. </h1>
  29. <$BlogItemBody$>
  30. </ItemPage></Blogger>
  31. </body>
  32. </html>

Replace my site name with your WordPress Site URL and then save the changes.

b) Once done You almost done. Last thing you have to do is. find the function.php file in your WordPress site and the paste the following code at the first line of that file.

  1. <?php
  2. function techmarket_blogger_query_vars_filter( $vars ) {
  3. $vars[] = “blogger”;
  4. return $vars;
  5. }
  6. add_filter(‘query_vars’, ‘techmarket_blogger_query_vars_filter’);
  7. function techmarket_blogger_template_redirect() {
  8. global $wp_query;
  9. $blogger = $wp_query->query_vars[‘blogger’];
  10. if ( isset ( $blogger ) ) {
  11. wp_redirect( techmarket_get_wordpress_url ( $blogger ) , 301 );
  12. exit;
  13. }
  14. }
  15. add_action( ‘template_redirect’, ‘techmarket_blogger_template_redirect’ );
  16. function techmarket_get_wordpress_url($blogger_slug) {
  17. global $wpdb;
  18. if ( preg_match(‘@^(?:https?://)?([^/]+)(.*)@i’, $blogger_slug, $matches) ) {
  19. $q = “SELECT guid FROM $wpdb->posts LEFT JOIN $wpdb->postmeta
  20. ON ($wpdb->posts.ID = $wpdb->postmeta.post_id)
  21. WHERE $wpdb->postmeta.meta_key=’blogger_permalink’
  22. AND $wpdb->postmeta.meta_value=’$matches[2]'”;
  23. $wp_url = $wpdb->get_var($q);
  24. }
  25. return $wp_url ? $wp_url : home_url();
  26. }
  27. ?>

save the file and your site is ready with those Blogger Post and all.

Advertisements

5 thoughts on “How to migrate your site from blogger to wordPress.

  1. Pingback: URL
  2. Hello Web Admin, I noticed that your On-Page SEO is is missing a few factors, for one you do not use all three H tags in your post, also I notice that you are not using bold or italics properly in your SEO optimization. On-Page SEO means more now than ever since the new Google update: Panda. No longer are backlinks and simply pinging or sending out a RSS feed the key to getting Google PageRank or Alexa Rankings, You now NEED On-Page SEO. So what is good On-Page SEO?First your keyword must appear in the title.Then it must appear in the URL.You have to optimize your keyword and make sure that it has a nice keyword density of 3-5% in your article with relevant LSI (Latent Semantic Indexing). Then you should spread all H1,H2,H3 tags in your article.Your Keyword should appear in your first paragraph and in the last sentence of the page. You should have relevant usage of Bold and italics of your keyword.There should be one internal link to a page on your blog and you should have one image with an alt tag that has your keyword….wait there’s even more Now what if i told you there was a simple WordPress plugin that does all the On-Page SEO, and automatically for you? That’s right AUTOMATICALLY, just watch this 4minute video for more information at. Seo Plugin

    Like

Tell us Your Suggestion

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s