Blogger To WordPress Migration Without Loosing Existing Traffic
In This Article We Have Tried To Solve all your queries and confusions Regarding blogger to wordpress migration.
Note:- You Don’t Have To Pay Large Amounts For these Types Of Migration You Can Also Do.Just Read It Carefully!!
As usual before starting the process,there were so many doubts in every blogger mind. These are the major points that I looked up during my migration
If I move to wordpress under self-hosting,would I lost my organic traffic?
Will I lose my rss subscribers?
Do all my indexed articles redirect to corresponding page,not just to homepage?
Will I lost the priority from google for highly ranked keywords ?
If you are still wanted to migrate but confused by these common doubts? Don’t worry we are going to help you.
Don’t worry about your SERPs,organic and inorganic traffic. All will be retained if you correctly follow the following procedures.
Here we are using the 301 perma redirection so never mind about the page duplication issue. means in future,your new wordpress blog wouldn’t suffer from copyright issues.
Through this migration,we are looking to
Redirect all your existing(indexed) pages correctly not just than redirecting to your homepage.
Redirect all your current subscribers to your new domain posts.
Maintain your google juice to keep ranked well in search engines.
Migrate from either your xyz.blogspot.com or from xyz.com(custom domain hosted at blogger).
Now Lets Start…
Before making any change in your blogger account,it’s recommended to take a backup(settings>export) including your template in xml format
So we can begin.
First Of All,buy a web space from branded hosters like hostgator,dreamhost or bluehost.
Setup basic domain changes using DNS options.
After successful registration from your hosting panel,you will get your control panel login details by mail.
login to your cpanel using the given details.
Find out software and tools in the dashboard
Click Fantastico deluxe
Install WordPress on your domain. It may take just one minute. Provide your username and password which can be used for signing in to your wordpress dashboard.
After installing,goto yourdomain.com/wp-login.php and log in.
Go to admin board and click tools>Import.
you may need to allow blogger account to access . So grant the permission.
After this step,you can see all your posts,comments and categories and imported to your new blog.
go to settings>permalinks>custom structure. Then type the following code to the column
/%year%/%monthnum%/%postname%.html
Now move back your blogger account>template>edit html>revert to classic template.
Now copy the given code to notepad and name it as blogger.php. Then upload it to your current theme directory.(cpanel>file manager>wp content>themes>choose your current theme(twenty ten by default)>Upload
You can see the uploaded file there. If you saved the code in notepad,you may need to rename as blogger.php.txt to blogger.php
Here is the code which is to be saved as blogger.php
<?php
/*
Template Name: blogger
*/
global $wpdb;
$old_url = $_GET['q'];
if ($old_url != "") {
$permalink = explode("blogspot.com", $old_url);
$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");
}
?>
Open your WordPress dashboard and go to Pages -> Add New Page. Type title as ”blogger” and select “blogger” from the Template drop-down. Save. Put the content blank.
Now again move to blogger dashboard>template and copy the following code to your html area completely by replacing the old 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://google.com/”</MainOrArchivePage> <Blogger><ItemPage>window.location.href=”http://google.com/blogger/?q=<$BlogItemPermalinkURL$>”</ItemPage></Blogger> </script> <MainPage><link rel=”canonical” href=”http://google.com/” /></MainPage> <Blogger><ItemPage><link rel=”canonical” href=”http://google.com/blogger/?q=<$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://google.com/”><$BlogTitle$></a></MainOrArchivePage> <Blogger> <ItemPage><a href=”http://google.com/blogger/?q=<$BlogItemPermalinkURL$>”><$BlogItemTitle$></a></ItemPage> </Blogger> </h1> </div> </body> </html>
Replace “google.com” in the above code with your new wordpress url.
Save the template.
The migration is 99% completed. Now check whether old links are redirecting to appropriate post not just to the homepage.
go to google.com and search for site:youroldurl.com to find out your old links.
All is alright? Then you are done. Or having trouble while redirection? ie,links are redirecting only to the home page? Then you must install a plugin called “Blogger 301 redirect” from the wordpress plugin site.
Install it and activate.
Now again check whether your links are redirecting to the correct posts.
Note: If you are migrating from a custom domain blog,you must put back to sub domain(xyz.blogspot.com) to import all the images and settings as mentioned in the 10th step. Also never delete your blogger blog since you are importing the images too. Also don’t forget to switch back to custom domain after importing.
Now it’s time to redirect your rss subscribes to your new domain.
Go to Blogger -> Settings -> Site Feed, type the address of your new WordPress RSS feed.
The setup is 100 % done. Here we have narrated the experience and settings as exactly as we done while migrating to our new domain. So there is no chance for error.
0 comments:
Post a Comment