How to Switch from Blogger to WordPress without Losing Google Rankings Uncategorized

How to Migrate from Blogger to WordPress without Losing Google Rankings


How to Migrate from Blogger to WordPress without Losing Google Rankings

Bloggers an awesome free tool to quickly start blogging. However, many Blogger users quickly realize thatf they need full control of their blog, they would be better off with their own self hosted WordPress.org blog (What’s the difference between self-hosted WordPress.org vs WordPress.com blogs). In this step by step tutorial we will help you How to Migrate from Blogger to WordPress without losing Google rankings.

To get started with WordPress, the first thing you would needs a WordPress hosting service provider and your own domain name. We have hand-picked a list of WordPress hosting providers that we have used for our own projects. These web hosts offer special deals and discounts to WPBeginner readers and most of them offer a free domain name upon signup.

Once you have signed up for WordPress hosting and set up your domain name. The next steps tonstall WordPress on your new website. We have a step by step tutorial on how tonstall WordPress. Once you havenstalled WordPress,ts time tomport your content from Blogger to WordPress.

Step 1. Import Your Blogger Blognto WordPress

Tomport your Blogger blognto WordPress, you need to go to Tools » Import and click on Blogger.

How to Migrate from Blogger to WordPress without Losing Google Rankings

This will bring up a popup, asking you tonstall bloggermporter. Click on the Insall button and WordPress will now download andnstall Blogger Importer plugin for you. Oncets finishednstalling the plugin you need to click on Activate Plugin and Run Impoter link to continue.

How to Migrate from Blogger to WordPress without Losing Google Rankings

On the next screen, you will be asked to authorize WordPress tomport your Blogger blog. You need to click on the Authorize button on this page, which will take you to your Google Accounts page. On your Google Accounts page, you will be notified that the application WordPresss requesting permission to manage your Blogger account. You need to click on the Allow Access button to continue.

How to Migrate from Blogger to WordPress without Losing Google Rankings

You will be now redirected back to WordPress where you will see the list of your Blogger blogs. All you need to dos click on themport button next to the blog you want tomport.

How to Migrate from Blogger to WordPress without Losing Google Rankings

WordPress will nowmport your blogger posts from blogger, oncets finished you will be asked to assign an author to themported posts. You can assign your blogger posts to an existing author.

Congratulations! you have successfullymported your Blogger blognto WordPress. However, you still need to make sure that you don’t loose any search rankings and that visitors to your old blog easily land to the same content on your new WordPress powered website.

Step 2. Setting up Permalinks

Permalinkss the term used for URL structure of permanent links forndividual entriesn blogs. WordPress comes with a feature that allows you to set up SEO friendly URL structure. However, since you aremporting content from Blogger you would want your URL structure to be as close to your Blogger URL structure as possible. To set permalinks you need to go to Settings » Permalinks screen and choose Month and Name as your permalink structure.

How to Migrate from Blogger to WordPress without Losing Google Rankings

Step 3. Setting up Redirection

The mostmportant stepn moving any websites to set up redirection so that users are redirected to your new website. The crucial part of redirections that you would want users to land on exactly the same page on the new site which they were accessing on the old site. Secondly, you would also want search engines to notice that your old sites moved to this new location.

To do this you need to set up redirection on two levels. First you will redirect Blogger visitors to your new WordPress blog. Secondly, once users reach your WordPress site you will redirect them to exact post they were accessing on your Blogger blog.

Let’s first set up redirection on the blogger blog. To do that you need to log on to your Blogger account and go to your Blog’s settings and click on Template.

How to Migrate from Blogger to WordPress without Losing Google Rankings

On the template page, you need to scroll down to the bottom of the page and click on Revert to Classic Template link.

How to Migrate from Blogger to WordPress without Losing Google Rankings

After switching to classic template, you will see ‘Edit Template HTML’ text area. You need to replace every thingn this text area with the following code. Make sure that you replace http://www.example.com with your own domain name.

<divd=”highlighter_648162″ class=”syntaxhighlighter ” style=”text-align: justify;”>

 

01 lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"gt;
02 lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="lt;$BlogLanguageDirection$gt;"gt;
03 lt;headgt;
04 lt;titlegt;lt;$BlogPageTitle$gt;lt;/titlegt;
05 lt;script type="text/javascript"gt;
06  lt;MainOrArchivePagegt;
07 window.location.href='http://www.example.com/'
08 lt;/MainOrArchivePagegt;
09  lt;Bloggergt;lt;ItemPagegt;
10    window.location.href='http://www.example.com/blogger/?q=lt;$BlogItemPermalinkURL$gt;'
11  lt;/ItemPagegt;lt;/Bloggergt;
12 lt;/scriptgt;
13 lt;MainPagegt;lt;link rel="canonical" href="http://www.example.com/" /gt;lt;/MainPagegt;
14 lt;Bloggergt;lt;ItemPagegt;
15  lt;link rel="canonical" href="http://www.example.com/lt;$BlogItemPermalinkURL$gt;" /gt;
16 lt;/ItemPagegt;lt;/Bloggergt;
17 lt;/headgt;lt;bodygt;
18 lt;div style="border:#ccc 1px solid; background:#eee; padding:20px; margin:80px;"gt;
19 lt;pgt;This page has moved to a new address.lt;/pgt;
20 lt;h1gt;
21 lt;MainOrArchivePagegt;lt;a href="http://www.example.com"gt;lt;$BlogTitle$gt;lt;/agt;lt;/MainOrArchivePagegt;
22 lt;Bloggergt;lt;ItemPagegt;
23  lt;a href="http://www.example.com/lt;$BlogItemPermalinkURL$gt;"gt;lt;$BlogItemTitle$gt;lt;/agt;
24 lt;/ItemPagegt;lt;/Bloggergt;
25 lt;/h1gt;
26 lt;/divgt; lt;/bodygt;lt;/htmlgt;
27 lt;!-- replace example.com with your WordPress site URL ---gt;

Save your template, and you have successfullymplemented redirection on your Blogger blog. However, you still need to setup your redirection on your WordPress site so that users are redirected to the proper posts. To do that, you need to create a new file using a plain text editor like Notepad. Give this file a name like wpb-blogger.php and paste this codensidet.

<divd=”highlighter_681017″ class=”syntaxhighlighter ” style=”text-align: justify;”>

 

01 lt;?php
02  /*
03   Template Name: WPBeginner Blogger
04  */
05  global $wpdb;
06  $old_url = $_GET['q'];
07  if ($old_url != "") {
08
09 // Fix for blogger blogs with .de and other tldsn their URLs
10 $tld_fix = preg_replace("/blogspot.[a-zA-Z0-9]+/", "blogspot.com", $old_url);
11 $permalink = explode("blogspot.com", $tld_fix);
12    $q = "SELECT guid FROM $wpdb-gt;posts LEFT JOIN $wpdb-gt;postmeta ".
13         "ON ($wpdb-gt;posts.ID = $wpdb-gt;postmeta.post_id) WHERE ".
14         "$wpdb-gt;postmeta.meta_key='blogger_permalink' AND ".
15         "$wpdb-gt;postmeta.meta_value='$permalink[1]'";
16   $new_url = $wpdb-gt;get_var($q)? $wpdb-gt;get_var($q) : "/";
17   header ("HTTP/1.1 301 Moved Permanently");
18   header("Location: $new_url");
19  }
20 ?gt;

Save your changes and upload this file to your WordPress theme directory using an FTP client. Once you have uploaded the file to your theme directory go to your WordPress admin area and create a new pagen WordPress. In the title field for this page enter blogger. Under the Page Attributes section choose WPBeginner Blogger as template and click on the Publish button.

How to Migrate from Blogger to WordPress without Losing Google Rankings

That’s all you needed to do. Now anyone visiting a post on your old Blogger blog will be redirected to the same post on your new WordPress site.

Step 4. Redirect Feeds

On your old blogger site, your feed subscribers will not be able to notice the switch. Sot would be best to redirect your blogger feed to your new WordPress site’s feed as well. To do that, you need to go to your Blogger account. Go to the Settings raquo Other and under the Site Feed section click on Add link next to Post Feed Redirect URL. Here you can enter your new WordPress site’s feed address.

How to Migrate from Blogger to WordPress without Losing Google Rankings

Step 5. Import Images From Blogger to WordPress Media Library

During themport, your Blogger posts may still havemages embedded which are still hosted on the blogger platform. You canmport thesemagesnto your WordPress site. Follow thenstructionsn our how to import externalmagesn WordPress tutorial, this willmport allmages from your blogger blognto your WordPress Media Library. Once themages aren your WordPress media library you can createmage galleries and use other WordPressmage related plugins with yourmportedmages.

We hope this tutorial helped you switch from Blogger to WordPress without losing Google rankings. We would like to welcome you to the WordPress community. To get started with WordPress, please take a look at our beginner’s guide section for more WordPress tutorials. For questions and feedback, please leave a comment below.

Related Article: Best SmartPhone Buying Guide for 2015

Visit www.jojitdelapena.com for Graphic Design services


Leave a Comment

Your email address will not be published.