
How To Import Blogger To WordPress.
Blogger is a free and quick platform to start blogging. After days go when a blogger user need a control over their blog they feel unhappy as they came to know they don’t have a full control on their blog. Blogger user has to backup their content because it can be deleted without notice to the user by Google, when they find the content of the site against their policy.Blogger is not a happy platform for professional bloggers.
1. Blogger is platform under the control of internet search giant Google. They have the complete rights on your blog .There are chances to even delete your account by Google without warning.
2. Blogger has many limitations in functionality, in factors of SEO & control over blog.
3. Blogger has a limited template to create a professional looking blog.
Get Start with WordPress.
Before a Start you a need a good and reliable WordPress webhosting service provider and a personal domain name of your own. Now there are more webhosters offers a free domain name too. Once you done with your domain name and hosting provider for WordPress, you need to install WordPress on your domain.
How to build a website of your own ?
We mentioned steps to import Blogger contents to WordPress Below :
How To Import Blogger To WordPress
Step 1:Export the XML file of the Blog you want to import to WordPress.
Login to your Blogger dashboard and get under the setting menu–>other and then select option Export blog, which will download your XML file in to your local system. But your blog copy will still remain in the blogger until you delete your account.
Step 2: Convert the Blogger XML File to WXR file.
WXR File, this is the file type supported and suitable for importing in to WordPress blog for blogger XML file. You cannot directly import the XML file Exported from Blogger in to WordPress, so you need the converting tool to change. Once you choose the file and click on convert, the converted file gets downloaded.
Step 3: Import wxr.xml file to your WordPress account.
Now You will have your converted wxr.xml file in your downloaded list . You need to import your file in to WordPress Installation by the WordPress Importer. You can download the WordPress Importer here.Once you download and install the importer. Choose the wxr.xml file in to that and click import, Import is done. Now you can find all posts, Images, pages and images which you exported from blogger.
Step 4: Change your links.
In Your WordPress Site Dashboard, Choose Settings–>Permalinks. Where you can find many options to change your URL Structure. Where you can select post name as your permalink structure.
Step 5: Redirection:
Once you completed this you need to setup redirection, this is the most vital step of this process which will redirect your user to your new site and which make the search engine to find the site has been moved to the new location. There will be two important steps in redirection.As a start in redirection you need to do with Blogger setting first. Log in to your blogger account where you have your site template in settings. Go to Settings –>Template. On the bottom of the template page near to footer you will find a option Revert to classic templates . While you click you will find a text editor Edit Template HTML. Where you need to replace the below mentioned HTML Code.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="<$BlogLanguageDirection$>"> <head> <title><$BlogPageTitle$></title> <script type="text/javascript"> <MainOrArchivePage> window.location.href='http://www.original.com/' </MainOrArchivePage> <Blogger><ItemPage> window.location.href='http://www.original.com/blogger/?q=<$BlogItemPermalinkURL$>' </ItemPage></Blogger> </script> <MainPage><link rel="canonical" href="http://www.original.com/" /></MainPage> <Blogger><ItemPage> <link rel="canonical" href="http://www.original.com/<$BlogItemPermalinkURL$>" /> </ItemPage></Blogger> </head><body> <div style="border:#ccc 1px solid; background:#eee; padding:20px; margin:80px;"> <p>This page has moved to a new address.</p> <h1> <MainOrArchivePage><a href="http://www.original.com"><$BlogTitle$></a></MainOrArchivePage> <Blogger><ItemPage> <a href="http://www.original.com/<$BlogItemPermalinkURL$>"><$BlogItemTitle$></a> </ItemPage></Blogger> </h1> </div> </body></html> <!-- replace original.com with your WordPress site URL --->
Note you have to change the original.com in to your domain name.
Now you need to change the redirection in WordPress. By doing this WordPress will redirect the visitors to the exact post. To do with this you have to create a file in php that you can create with Notepad. Give the file name as urlredrct.php and copy the below code in to it.
<?php
/*
Template Name: URL Redirect
*/
global $wpdb;
$old_url = $_GET['q'];
if ($old_url != "") {
// Fix for blogger blogs with .de and other tlds in their URLs
$tld_fix = preg_replace("/blogspot.[a-zA-Z0-9]+/", "blogspot.com", $old_url);
$permalink = explode("blogspot.com", $tld_fix);
$q = "SELECT guid FROM $wpdb->posts LEFT JOIN $wpdb->postmeta ".
"ON ($wpdb->posts.ID = $wpdb->postmeta.post_id) WHERE ".
"$wpdb->postmeta.meta_key='blogger_permalink' AND ".
"$wpdb->postmeta.meta_value='$permalink[1]'";
$new_url = $wpdb->get_var($q)? $wpdb->get_var($q) : "/";
header ("HTTP/1.1 301 Moved Permanently");
header("Location: $new_url");
}
?>
Save the file in to your WordPress theme directory by logging in your
control panel of webhoster or by FTP. After done with this open the
WordPress admin area and create a new page. Make blogger as the title
page , under the page attributes change template as URL Redirect and
click publish. Now users visiting your post on Blogger will be
redirected to the exact post on the WordPress site.Step 6: Redirect Feed Subscribers.
In your Blogger the subscribers who are following your feed can also be redirected to your WordPress site feed by changing few things in your blogger account. Login to your Blogger account , Go to Settings–>Other–>Site feed. In Post Feed Redirect URL enter the feed address of your WordPress site.
These steps mentioned above will help you to Import Blogger to WordPress easily. Let me know your comments and feedback.
Thanks For Sharing this......
ReplyDelete