How To Easily Migrate Your Blog From blogspot to wordpress Using Permanent 301 Redirect

How To Easily  Migrate Your  Blog From blogspot to wordpress  Using Permanent 301 Redirect

Bloggers are very happy with their lifestyle, try asking Jide of ogbonge blogHarsh Agrawal of SML. I started Jayscienceteh with blogspot platform, and am very happy here,
although some bloggers desires a switch to wordpress after a short while. There
are massive benefits bloggers derive from blogspot; unlimited web space is
notable among all.
No matter the number of traffic to your blog, you won’t
experience low page loading signal.
Before you start the migration, it is without doubt, highly profitable
to backup your Blogger blog 
together with the XML template, blog posts and comments just to be on the right
track.
I
believe sharing this guide is very important to bloggers, who intends to
migrate their blog from blogspot to wordpress. Kindly follow these steps below
1.       Register
a new web domain and also at the same time buy web hosting and install WordPress on
your new domain.
2.      Open
your WordPress Admin Dashboard and under the  Tools section -> Import, select the
Blogger option. Authorize WordPress to access your Blogger Account, select
your blogspot.com blog and within minutes, all your Blogger blog posts and
comments will be available on the new WordPress site.
3.      Open
the WordPress themes editor under Appearance -> Editor and open the
functions.php file for editing. Most WordPress themes include a functions.php
file or you can upload it manually into your WordPress themes folder through
cPanel or FTP. Copy-paste the following snippet of code inside your
functions.php file (at the inception of the file) and click the “Update File”
button to save your changes.
2. 
<?php
3. 
 
4. 
function jaysciencetechl_blogger_query_vars_filter( $vars ) {
5. 
$vars[] = “blogger”;
6. 
return $vars;
7. 
}
8. 
 
9. 
add_filter(‘query_vars’, ‘jaysiencetech_blogger_query_vars_filter’);
10.
 
11.
function jaysciencetech_blogger_template_redirect() {
12.
global $wp_query;
13.
$blogger = $wp_query->query_vars[‘blogger’];
14.
if
( isset ( $blogger ) ) {
15.
wp_redirect( jayscienceteh_get_wordpress_url ( $blogger ) , 301 );
16.
exit;
17.
}
18.
}
19.
 
20.
add_action( ‘template_redirect’, ‘labnol_blogger_template_redirect’ );
21.
 
22.
function jaysciencetech_get_wordpress_url($blogger) {
23.
if
( preg_match(‘@^(?:https?://)?([^/]+)(.*)@i’, $blogger, $url_parts)
) {
24.
$query = new
WP_Query (
25.
array ( “meta_key” => “blogger_permalink”, “meta_value” => $url_parts[2] ) );
26.
if
($query->have_posts()) {
27.
$query->the_post();
28.
$url = get_permalink();
29.
}
30.
wp_reset_postdata();
31.
}
32.
return $url ? $url : home_url();
33.
}
34.
 
35.
?>
1.        Now kindly Open your Blogger Dashboard and
choose Templates. Scroll down the templates page and select the “Revert to
Classic Templates” option to toggle from the XML-based Blogger templates to the
classic Tag based templates.
2.      Copy-paste
the following snippet into your Blogger template editor but before that, substitute
all occurrences of jaysiencetech.com with your new WordPress site URL. Take a
typical example, if your WordPress site is located at Johnson.com, replace jaysciencetech.com
with Johnson.com and seemingly paste the customized snippet in the Blogger
template editor. Quietly save the changes.
1.  
<html>
2.  
 <head>
3.  
  <title><$BlogPageTitle$></title>
4.  
  <script>
5.  
    <MainOrArchivePage>
6.  
      window.location.href=”http:// jaysciencetech.com
/”
7.  
    </MainOrArchivePage>
8.  
    <Blogger><ItemPage>
9.  
      window.location.href=”http:// jaysciencetech.com
/?blogger=<$BlogItemPermalinkURL$>”
10. 
    </ItemPage></Blogger>
11. 
  </script>
12. 
   <MainPage>
13. 
    <link rel=”canonical” href=”http:// jaysciencetech.com
/” />
14. 
   </MainPage>
15. 
   <Blogger>
16. 
    <ItemPage>
17. 
     <link
rel=”canonical” href=”http:// jaysciencetech.com /?blogger=<$BlogItemPermalinkURL$>”
/>
18. 
    </ItemPage>
19. 
   </Blogger>
20. 
 </head>
21. 
 <body>
22. 
  <MainOrArchivePage>
23. 
    <h1><a href=”http:// jaysciencetech.com
/”><$BlogTitle$></a></h1>
24. 
  </MainOrArchivePage>
25. 
  <Blogger>
26. 
   <ItemPage>
27. 
    <h1><a
href=”http:// jaysciencetech.com /?blogger=<$BlogItemPermalinkURL$>”><$BlogItemTitle$></a></h1>
28. 
    <$BlogItemBody$>
29. 
   </ItemPage>
30. 
  </Blogger>
31. 
 </body>
32. 
</html>
Carefully take a look; we are almost through with the
guide/tutorial. Kindly Open any page on your previous Blogger blog,  it should redirect you to the equivalent
WordPress page. What we using is   permanent 301 redirect on the WordPress region,
and consequently, all the Google fluid and PageRank should pass to your new WordPress
pages.
The above illustration/tutorial works best for normal
blogspot.com URLs or blogspot.in.
The
Blogger Import tool moves only posts and comments from Blogger to WordPress but
not images. This is absolutely okay because the image URLs in your imported
WordPress posts are still pointing to blogspot.com (where the images were formerly
hosted) and as a result no smash will be experienced.

Easily Switch
RSS Feed from Blogger to WordPress

After moving from Blogger to WordPress, the URL of your RSS feed
will proportionally. Kindly go to Blogger -> Settings -> other and choose Post Feed Redirect URL under
Site Feed. Here you can type the web address of your new WordPress RSS feed
here and the existing RSS subscriber will automatically move to your new feed.
If you are using FeedBurner, just
replace the source from Blogger RSS feed to your new WordPress feed. You are
done…..
Now
that your new WordPress site is up and running with all the old Blogger posts,
here are significant things you should keep close:
1.       Add
your new WordPress site to Google Webmaster, authenticate the site ownership
and also submit a XML Sitemap listing the URLs on your fresh site.
2.      Follow
these blogging tips and take your blog to the
next level.

Do you urgently need assistance with the Blogger to WordPress migration, please get in touch with me using the contact form. Payment is compulsory, please note.

Thanks for reading, kindly
share with fellow bloggers.