Friday, March 13, 2015

How to migrate a blog from Blogger to WordPress


Hosting a blog on Blogger of the UR (abc.blogspot.com) and I would like to you now move the blogger's blog on WordPress, such as personal domain name abc.com (self-hosted). What is the easiest way to WordPress without losing the Google search traffic, page rank and existing supply subscribers can switch to the bloggers?

WordPress is an easy one-click to import blog posts and reader comments from Blogger to a new WordPress blog gives you the option to migrate, but there are just more than transmissions. For example:

Though some of your articles on your blog in the previous Blogspot can be a high ranking in the search engines for specific keywords, if you move a new WordPress blog this article, you organic since the permanent link (or URL) of your blog posts Search traffic changes will be lost.
People come to your blog via search engines, browser bookmarks and recommendations from other web sites linked to the blog page. If you are migrating to WordPress, Blogger will not be automatically redirected to the new website this visitor.
When you switch to Blogger to WordPress, if existing leaders who subscribe to your RSS feed bloggers manually feed address to subscribe to new WordPress forever lost (most do not), you can.
Import tool that can be used inside WordPress bloggers, as well as to transfer the contents of the press word, if you want to take care of the various problems of the above, and follow the step-by-step tutorial. It takes less than 5 minutes to complete and you can also send all the Google juice in the previous blogspot.com address to your new WordPress blog.

How to move the blog from Blogger to WordPress


Before you begin the migration, you can include the XML template, blog posts and comments may recommend that you back up for just a safety blog to Blogger.

If you need to migrate to support WordPress blogger, please contact me using the contact form on ctrlq.org. This is a paid option.

Buy a new web domain registration and web hosting to install WordPress on your new domain.
Open your Admin Dashboard of WordPress [Tools] -> Import, and select Options blogger. Selected, by giving them the right to access to your Blogger account of a WordPress blog and within minutes blogspot.com, every blogger's blog posts and comments are available on the new WordPress site.
Word on the exterior theme editor to open the press -> to open the editor and edit the functions.php file. Most WordPress themes include the functions.php file or folder, you can manually via the cPanel or FTP upload WordPress theme. (At the beginning of the file), copy and paste the following code in your functions.php file inside the code and save your changes, click the "Update File" button.


<?php
function labnol_blogger_query_vars_filter( $vars ) {
  $vars[] = "blogger";
  return $vars;
}
add_filter('query_vars', 'labnol_blogger_query_vars_filter');
function labnol_blogger_template_redirect() {
  global $wp_query;
  $blogger = $wp_query->query_vars['blogger'];
  if ( isset ( $blogger ) ) {
    wp_redirect( labnol_get_wordpress_url ( $blogger ) , 301 );
    exit;
  }
}
add_action( 'template_redirect', 'labnol_blogger_template_redirect' );
function labnol_get_wordpress_url($blogger) {
  if ( preg_match('@^(?:https?://)?([^/]+)(.*)@i', $blogger, $url_parts) ) {
    $query = new WP_Query (
      array ( "meta_key" => "blogger_permalink", "meta_value" => $url_parts[2] ) );
    if ($query->have_posts()) {
      $query->the_post();
      $url = get_permalink();
    }
    wp_reset_postdata();
  }
  return $url ? $url : home_url();
}
?>



Open your Blogger dashboard, select a template. "The Revert classic template" that can be converted to scroll classic Blogger template tags in the template-based XML-based template page, select an option below.
Copy and paste the following code into Blogger Template Editor, but before that, first, it replaces all occurrences of a new wordpress site URL and labnol.org. For example, if your WordPress site is located on the example.com, replacing example.com and labnol.org and paste the modified pieces from Blogger Template Editor. To save your changes.



<html>
 <head>
  <title><$BlogPageTitle$></title>
  <script>
    <MainOrArchivePage>
      window.location.href="http://labnol.org/"
    </MainOrArchivePage>
    <Blogger><ItemPage>
      window.location.href="http://labnol.org/?blogger=<$BlogItemPermalinkURL$>"
    </ItemPage></Blogger>
  </script>
   <MainPage>
    <link rel="canonical" href="http://labnol.org/" />
   </MainPage>
   <Blogger>
    <ItemPage>
     <link rel="canonical" href="http://labnol.org/?blogger=<$BlogItemPermalinkURL$>" />
    </ItemPage>
   </Blogger>
 </head>
 <body>
  <MainOrArchivePage>
    <h1><a href="http://labnol.org/"><$BlogTitle$></a></h1>
  </MainOrArchivePage>
  <Blogger>
   <ItemPage>
    <h1><a href="http://labnol.org/?blogger=<$BlogItemPermalinkURL$>"><$BlogItemTitle$></a></h1>
    <$BlogItemBody$>
   </ItemPage>
  </Blogger>
 </body>
</html>
We are almost there. Open to any page on an existing Blogger blog will be redirected to the WordPress page. We have a permanent 301 redirect so all sides using WordPress and Google juice PageRank (PageRank) must be passed to the new WordPress page. (Video)

The above method works for a blogspot.com URL, such blogspot.co.uk, blogspot.com.au or blogspot.in also a regular blogger regional domain.

Blogger Importer tool to move the image, not the views of the bloggers on WordPress posts. Image URL for imported WordPress post is still (image was the original host), so that should be fine, so nothing would break points to blogspot.com.

See also: Moving WordPress blogger custom domain

Switch from Blogger to WordPress RSS Feed

When you move from Blogger Wordpress, URL of your RSS feed will also change. -> Settings - Go to Blogger> Select More and Post Feed Redirect URL from your site feed. Here you can enter the web address of your new WordPress RSS feed here, and to move existing subscribers to the RSS news feed automatically.

If you use FeedBurner, replace the source in your new WordPress blogger feeds RSS feeds.

Full WordPress to migration - what next?

Now that the new site is running WordPress from Blogger to all previous post, here are some important things you need to do the following:

Add site ownership verification new WordPress site to Google Webmaster, and also submit an XML sitemap, which lists the URL of the new site.
Optimization WordPress install some of the required plug-in, follow the tips and pay special attention to improve the security of your WordPress site.
According to this blog Tips Take your blog to the next level.

No comments:

Post a Comment