How to Move from Blogger to WordPress

WPBlogger

In order to transfer your Blogger website to WordPress hosted with us, follow these steps:

Exporting Blogger Blog

  1. Log into your Blogger dashboard
  2. go to Settings
  3. Other menu
  4. Click on Export Blog in the Blog Tools menu:

This will bring a pop-up window. Click on Download Blog:

Your Blogger blog’s content will be downloaded to your computer in an XML file. Once it’s done, move to Step 2.

Importing Blogger to WordPress

  1. Log into your WordPress Dashboard
  2. Go to Tools
  3. Import menu
  4. click on Blogger:

This will bring a pop-up window for the Blogger Importer Installation . Click on Install now:

WordPress will download and install the Blogger Importer plugin. Once the installation is finished, click on Activate Plugin & Run Importer:

On the next step, you will be asked to upload the file to import. 

  1. Click on Choose file
  2. select an XML file on your PC (the file that you downloaded in step 1)
  3. click on Upload file and import:

WordPress will now import your Blogger posts one by one. When it is finished, you will need to assign an author to the imported posts. You can assign your blogger posts to an existing author (admin) or create a new author account:

That’s it! The import is finished.

Setting up permalinks

As you are importing content from Blogger, you would prefer the WordPress URL structure to be as close to your Blogger URL Structure as possible.

To set up permalinks, 

  1. go to Settings
  2. Permalinks menu
  3. Select Month and Name as your permalink structure
  4. Click on Save Changes:

Setting up redirection

To move your Blogger successfully, you need to set up 2 redirects as well:

Redirecting your Blogger visitors to the WordPress website

  1. Log into your Blogger account
  2. go to Settings
  3. Template menu:

On this page, scroll down to the bottom and click on Revert to classic templates.
You need to log into your Blogger account, go to your Blog’s Settings and click on Template:

After switching to a classic template, you will see the Edit Template HTML area:

You need to replace everything in this area with this code and click on Save template:

NOTE: Make sure that you replace http://example.com with your own domain name.

4.2 Redirect users to an exact post they were trying to reach

You need to copy and paste the following code in your WordPress theme’s functions.php file of the theme you are using or in a site-specific plugin:

function blogger_query_vars_filter( $vars ) {
$vars[] = “blogger”;
return $vars;
}

add_filter(‘query_vars’, ‘blogger_query_vars_filter’);

function blogger_template_redirect() {
global $wp_query;
$blogger = $wp_query->query_vars[‘blogger’];
if ( isset ( $blogger ) ) {
wp_redirect( get_wordpress_url ( $blogger ) , 301 );
exit;
}
}

add_action( ‘template_redirect’, ‘blogger_template_redirect’ );

function 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();
}

This code creates a Blogger to WordPress 301 Redirect, which is the best option for SEO.

Now the person visiting a post on your old Blogger blog will be redirected to the same post on your WordPress website.

Redirect Feeds

You can set up a redirect for your Blogger feed to your WordPress website’s feed so that your RSS subscribers on the old Blogger website don’t notice the change.

  1. Log into your Blogger account
  2. Go to Settings
  3. Other menu
  4. In the Site Feed section, click on Add link next to Post Feed Redirect URL:

You will need to enter your WordPress website feeds URL, like http://example.com/feed/:

6. Importing images from Blogger to WordPress

When you are importing Blogger to WordPress, the Blogger importer plugin downloads images from Blogger posts into the WordPress media library. However, in rare cases, some images can fail to be downloaded.

In this case, you can import images from Blogger using the Import External Images plugin. Once the plugin is installed and activated, go to Media > Import Images menu. The plugin will look for and display external images in your posts. All you need to do is to click on Import Images Now to complete the import.

 

About Mathias Amodu 886 Articles
My Name is Mathias Amodu, a passionate blogger with full interest in making the world a better place for upcoming webmasters in the society at large

2 Comments

  1. Elochi September 8, 2018
  2. Novelvibes.com.ng September 9, 2018

Leave a Reply

*