Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
25 Million+
Websites using our plugins
Years of WordPress experience
WordPress tutorials
by experts

How to Switch From Blogger to WordPress Without Losing Google Rankings

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Many bloggers begin their journey on Blogger because it’s a free and straightforward platform. However, as your blog grows, you might start feeling restricted by its limited features.

Switching to WordPress can open up a world of possibilities with its extensive capabilities. But there’s a common concern about making this move: the potential loss of Google rankings.

This article will guide you through the process of transitioning from Blogger to WordPress. We will focus on how to do it correctly, making sure you keep your valuable Google rankings intact.

Our goal is to help you upgrade your blogging platform without sacrificing the SEO efforts you’ve already put into your site.

Switching from Blogger to WordPress

Why Move From Blogger to WordPress?

Blogger is a popular blogging platform created by Google. It allows anyone to create a free blog using their Google account.

However, many beginners soon realize that there are a lot of limitations on what they can do with their free Blogger blog.

WordPress, on the other hand, gives you complete ownership of your website. It also allows you to add the necessary features to grow your blog and monetize your content. Plus, you can perform all the SEO optimizations to rank higher. We have created a detailed side-by-side comparison of WordPress vs. Blogger.

It’s important to note that when we say WordPress, we are talking about self-hosted, which should NOT be confused with, which is a hosted solution that has its own limitations. For details, see our article on the difference between vs. is the popular “WordPress” platform that you have likely heard about because it powers 43% of all websites on the internet.

That being said, let’s take a look at how to properly move from Blogger to WordPress while preserving your Google search rankings and website traffic.

Here are the steps that we will use to transfer from Blogger to WordPress:

Ready? Let’s get started.

Video Tutorial

Subscribe to WPBeginner

If you don’t want to watch the video tutorial, then you can continue reading the text version below.

Step 1: Sign Up for WordPress Hosting

To get started with WordPress, you will need a domain name and web hosting.

For a quick reminder, a domain name is your website’s address that people type to get to your blog, and web hosting is where your website files are stored. Both of these are a MUST-HAVE to create any type of blog or website.

With that said, we recommend using Bluehost. They are one of the largest hosting companies in the world, and they are an officially recommended WordPress hosting partner.

Because WPBeginner is the largest WordPress resource site, they have agreed to offer our readers a free domain name and a 60% discount on hosting. Basically, you can get started for just $1.99 per month.

If, for some reason, you would prefer to go with a Bluehost alternative, then we recommend using either SiteGround or Hostinger because both are excellent solutions.

Once you have signed up for the WordPress hosting plan and set up your domain name, you can go ahead to the WordPress installation step.

If you sign up with Bluehost using our link above, then they will install WordPress for you automatically.

If you used a different WordPress hosting provider, then you need to install WordPress by following our ultimate guide on how to install WordPress.

After you have installed WordPress, it is time to move your content from Blogger to WordPress.

Bonus Free Offer: Since a lot of you asked for this, we are now offering a free Blogger to WordPress migration service as part of our free WordPress blog setup service. This means one of our expert team members will do the entire migration for you (100% free). Yes, you can literally switch from Blogger to WordPress without any risk.

Note: Our free blogger migration service is for smaller blogs that have less than 1000 blog posts. We can offer a migration service for larger blogger sites, but that will be a paid service.

However, if you are someone who likes learning and doing things yourself, then you can follow our step-by-step tutorial below.

Step 1: Export Your Blogger Blog

The first thing you need to do is export your Blogger blog’s content.

You can do this by visiting the Blogger website and logging into your account dashboard.

After that, go to the Settings page. Scroll down to the ‘Manage Blog’ section, and click the ‘Back up Content’ button.

Backup Blogger content

This will bring up a popup showing what exactly is included in the Blogger backup.

You need to click on the ‘Download’ button to continue.

Download blogger backup

Your Blogger blog’s content will be downloaded to your computer in an XML file.

Once the download is complete, it is time to import your Blogger content into your WordPress site.

Step 2: Import Blogger to WordPress

To start importing your Blogger site into WordPress, log in to your WordPress admin area and visit Tools » Import.

On the Import page, go ahead and click on the ‘Install Now’ link below Blogger.

Install Blogger importer for WordPress

WordPress will now download and install the Blogger Importer plugin for you.

Once it has finished installing, you need to click on the ‘Run Importer’ link to continue.

Run Blogger importer

WordPress will ask you to upload the XML file on the Import Blogger screen. This is the file that you downloaded in Step 1.

Simply click the ‘Choose File’ button and upload the XML file you downloaded earlier.

Next, click on the ‘Upload file and import’ button to continue.

Upload the file to import

WordPress will now upload the import file. If your import file is too large, then you may see an error message.

In this case, you will need to increase your maximum file upload limit. If your file is small, then you won’t see any errors.

Next, you will be asked to assign posts to an author. If you have multiple authors on your Blogger blog, then you can create a new user account for each author. You can also assign these posts to existing authors on your WordPress website.

Assign authors

After making your selection, click on the ‘Submit’ button to continue.

WordPress will import all content from the Blogger export file to your WordPress site. You can view the content by visiting the Posts » All Posts page.

Imported content on your WordPress blog

Permalinks is the term used for the URL structure of individual pages. WordPress comes with a feature that allows you to set up an SEO-friendly URL structure.

Since you are importing content from Blogger, you need your URL structure to be as close to your old Blogger site’s URL structure as possible.

To set permalinks, you need to go to Settings » Permalinks in your WordPress dashboard and choose the ‘Custom Structure’ option.

After that, you need to add the following text in the box next to the custom structure field:

Setting up permalinks

This permalink structure makes your blog post URLs similar to the URLs on your old Blogger blog.

However, sometimes your blog post URL, also known as a slug in WordPress, will not match the slugs used by Blogger.

To fix this, you will need to create and run a little code snippet.

We recommend adding this PHP code using the WPCode plugin. It is the safest way to add custom code to your WordPress website. For more details, please see our guide on how to copy and paste code snippets in WordPress.

add_action( 'init', 'wpb_update_slug' );

function wpb_update_slug() {
global $wpdb;
$result = $wpdb->get_results("SELECT post_id, meta_value FROM $wpdb->postmeta WHERE meta_key = 'blogger_permalink' ");
foreach ($result as $row){
$slug = explode("/",$row->meta_value);
$slug = explode(".",$slug[3]);
$wpdb->query("UPDATE $wpdb->posts SET post_name ='$slug[0]' WHERE ID = '$row->post_id' ");
echo "DONE";


After saving the code, you just need to visit any page on your WordPress site to trigger this script.

Important: After the script has run, don’t forget to disable or delete it from your WPCode library because it only needs to run once.

Bonus Free Offer: Don’t want to deal with code? We have got you covered. Since many of you asked for this, we are now offering a free Blogger to WordPress migration service as part of our free WordPress blog setup service.

This means one of our expert team members will do the entire migration for you (100% free). Yes, you can literally switch from Blogger to WordPress without any risk.

Step 4: Set Up Redirects From Blogger to WordPress

The most important step in moving any website is to set up proper redirection so that you don’t lose any existing traffic or SEO rankings. You can see our ultimate WordPress SEO migration checklist for more details.

Note: If your Blogger blog has its own custom domain instead of, you may need to point your domain nameservers to your hosting provider. For instructions, please follow our tutorial on how to switch custom domain blogger blog to WordPress.

The crucial part of the redirection is to ensure that your users land on the same page on the new domain they were trying to access on the old site.

At the same time, you also need to ensure that search engines understand that your website is moved to this new location.

You need to install and activate the Blogger to WordPress Redirection plugin to do that. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, you need to visit the Tools » Blogger to WordPress Redirection page and click on the ‘Start Configuration’ button.

Get the redirection code

The plugin will now detect the URL of your Blogger blog and show you the option to get a redirection code. Go ahead and click on the ‘Get Code’ button next to your Blogger URL.

It will now generate a code snippet that you need to properly redirect users from your old Blogger blog to your new WordPress site.

Next, you need to log in to your Blogger dashboard and go to the ‘Themes’ page. Click on the dropdown arrow on the ‘Customize’ button next to your theme, and then select the ‘Edit HTML’ option.

Edit blogger theme code

Blogger will now display the custom HTML code for your theme template. If you made any customizations to your Blogger theme, then you may want to copy the code and save it on your computer as a backup.

Otherwise, you can just go ahead and delete everything. After that, copy the code displayed by the plugin on your WordPress site and paste it into your Blogger theme editor.

Blogger theme editor

Don’t forget to click on the ‘Save theme’ button to store your changes.

Next, we need to set up redirects for mobile users.

You need to go back to the Themes page in your Blogger blog’s dashboard. This time you need to click on the gear button below the mobile preview of your blog.

Change mobile theme settings

This will bring up a popup where you need to select the ‘No. Show desktop theme on mobile devices’ option.

Then, click on the ‘Save’ button.

Disable mobile theme

That’s all, your Blogger blog will now redirect all your blog visitors to your new WordPress blog.

Alternatively, you can also use All in One SEO (AIOSEO) to redirect posts and pages from Blogger to WordPress. The plugin offers a powerful redirection manager feature that lets you set up full site redirects to your new site.

Plus, you can enable 404 error tracking and catch any broken links that may occur when moving your site to WordPress. This will help improve the user experience, and you won’t lose keyword rankings.

Step 5: Moving Other Content From Blogger to WordPress

In this step, we will move the remaining content from the old blog on Blogger to your new WordPress blog. This may require some manual work, depending on the settings/content of your blog.

1. Moving Pages From Blogger to WordPress

WordPress’s Blogger importer tool only imports Blogger posts and ignores pages.

To move your pages into WordPress, you will have to edit each page in your Blogger blog, copy its contents, and then manually create a page in WordPress.

To learn more about pages, see our article on the difference between posts vs. pages in WordPress.

Now, you will come across another issue. The Blogger pages have URLs that look like this:

Your WordPress page URL will look like this:

To fix this, you will need to use the All in One SEO (AIOSEO) plugin. For instructions, please see our beginner’s guide on creating redirects in WordPress.

2. Widgets

Like Blogger, some WordPress themes also utilize widgets to add content to your blog’s sidebar.

To add widgets, you need to visit the Appearance » Widgets page in your WordPress dashboard and simply drag/drop widgets into the sidebars. For detailed instructions, see our guide on how to add and use widgets in WordPress.

If you are looking for a specific widget you don’t see in WordPress by default, then you likely need a WordPress plugin. You can search WPBeginner’s best WordPress plugin category to find the functionality you want.

3. RSS Feeds

Search engines and users who subscribe to your blog posts via RSS feeds will still be able to find your blog. However, they will not get any new content.

To fix this, visit the Settings page under your Blogger account. Next, scroll down to the ‘Site feed’ section and click on ‘Post feed redirect URL’.

Redirect Blogger RSS feed

This will bring up a popup where you need to add the RSS feed URL of your WordPress website.

Your WordPress feed URL will look like this:

Don’t forget to replace with your own domain name.

Add feed URL

Click on the ‘Save’ button to add the URL and save your settings.

Step 6. Things to Do After Migrating From Blogger to WordPress

Now that you have successfully moved your Blogger blog to WordPress, let’s take a look at what else you can do to improve your blog.

We have created a checklist of the most important things you need to do after installing WordPress.

WordPress is quite easy to use. However, you’ll occasionally discover new things that you may need help with. This is where WPBeginner comes in.

WPBeginner is the largest free WordPress resource site in the world. We regularly publish tutorials and guides written specifically for bloggers and small businesses.

Here are some of the useful resources that you will find on WPBeginner (all of them are free):

  • WPBeginner Blog – The central place for all our WordPress tutorials and guides.
  • WPBeginner Dictionary – Our WordPress glossary is the best place to familiarize yourself with the WordPress lingo
  • WPBeginner Videos – New WordPress users can start with these step-by-step videos to master WordPress.
  • WPBeginner on YouTube – Need more video instructions? Subscribe to our YouTube channel with more than 291,000 subscribers and 50 Million+ views.
  • WPBeginner Blueprint – Check out the plugins, tools, and services that we use on WPBeginner.
  • WPBeginner Deals – Exclusive discounts on WordPress products and services for WPBeginner users.

We hope this article helped you switch from Blogger to WordPress without affecting your Google search rankings. You may also want to see our guide to which WordPress plan you should use or the most common WordPress myths debunked.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

779 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Mini says

    This useful even for moving free blog on blogspot to free blog on wordpress?
    And will it transfer previously received comments too?

  3. Katheriine says

    I have a problem with all of my pinterest pins stopping at a blogger page saying “this blog is no longer hosted by blogger do you wish to be redirected?” and you have to choose yes or no and obviously people usually just exit out or hit no so it’s killing my page views. Any help??

  4. Susann says

    I don’t have the export blog (or import) button on my blogg. Only the Delete button. Did they take this away, how can I export my blog now? Or do I need to change anything somewhere else to get it to show up?

  5. Eli says

    Hi, I don’t can’t use permalinks with /month/day, i need to use /blog-post-title.

    is there a way to modify the php code, to get a proper redirect?

  6. WAHEED HABIB says

    Dear Author, thank u so much for such a great help in transferring blogger data to wordpress theme. But redirection woud;nt work for me rather i use simple Blogger to WordPress Redirection plugin a very simple and easy to use tool i just love it. I have redirect my blogger site to WordPress.

  7. Mallory says

    Hi! Thank you so much for this helpful guide!!
    I’ve done everything as you explained and redirection works but I get this message on top of my wordpress: Notice: Undefined index: blogger in /var/www/vhost/example/home/html/wp-content/themes/betheme-child/functions.php on line 94

    I therefore went and checked line 94 and this is the one: $blogger = $wp_query->query_vars[‘blogger’];

    would you be able to help me?
    Thank you so much

  8. Patricia says

    Hi, currently trying to follow your instructions but I keep getting this message when I try to save the blogger redirection code in reference to the blog page title line.

    “Error parsing XML, line 3, column 9: The content of elements must consist of well-formed character data or markup.”

    Please help?

  9. JC says

    Glad i found this. I’ve been so afraid to move my blog from blogger to W/P. One question: Do my followers on blogger also go with me?

    Also, is there a way (don’t know what it’s called) to let those that come to your blogger site know that you’ve moved to W/P?

    • WPBeginner Support says

      If by followers you mean those who used Google ID to follow your blogger blog, then no.

      Yes, using this method, people arriving at your blogger site through other sources will be properly redirected to your new site.


  10. Lindsey says

    So helpful. However, when I refresh after all the steps, I get the 2nd code we pasted showing at the top. Am I missing something? It is even showing in my WP Admin dashboard!!

  11. Katelyn says

    I am having the hardest time converting from BlogSpot to Word Press. For some reason I don’t know if it’s the browser I’m using or what but when I go to Settings –> Other —> to import and backup or backup content (those are the only two options it give me) I don’t have an export blog option. I’m getting ready to just freakin pay someone to do it!

  12. Sy Abuzar says

    Hello. Brother.

    This is Very Useful Article Amazing and Mind Blowing Guidelines Step by Step, I like It Thanks a lot,

    Have a Nice Day Ahead

  13. Febriyan says

    I had tried all the steps there and if I opened my blogspot blog on my computer, it worked just fine. It redirected automatically to the new domain on wordpress. But if I use my phone or asked my friend to access the blogspot, it didn’t do anything. No redirection at all.
    Can you help me on this?
    my blogspot is

  14. Erin says

    Thank you for your post, super easy to follow and felt confident importing my blog. Though alas and alack I had trouble with the images, they didn’t import. I then followed your extra assistance for that scenario but whilst some imported to media library, some didn’t, and none are showing as featured images.
    Any tips would be greatly appreciated.

  15. Mercedes says

    Thank you! This was super helpful.

    Having a little trouble with the second code though. I have no idea how to even access the file I need to paste the code into?

    • WPBeginner Support says

      It goes in your theme’s functions.php file. Go to Appearance page in your WordPress admin area, and note the name of your active theme. Connect to your website using an FTP client, go to /wp-content/themes/your-active-theme-folder/ and there you will find functions.php file. Download it to your computer and open it with a plain text editor like Notepad. Paste the code at the end of this file. Save the file and upload it back to your theme folder using FTP.


  16. Biz Harris says

    oh gosh, this was super helpful, but ONE note… maybe in the section about entirely changing the blogger code, be SUPER specific that you should change every “” to your blog address AND that “www” beforehand isn’t necessary. I tried several iterations before I got this to work for me (and had a couple of panic attacks in the meantime.) :) anyway, thanks again from this VERY novie workpress beginner!

  17. Nicole says

    This was such a helpful blog post. So many people offer too much information or not enough, but you walked me straight through it! Thank you! I used Thad’s advice to get the mobile views to redirect. That worked.

    My only problem now is that I can’t get my “pages” to redirect. They didn’t export/import, so I created new pages, with new names. Can I redirect these 15 pages manually in some way? or at least have a user redirected to my new home pages? Right now they are getting the message that “page you were looking for…does not exist.”

    Thank you again! You have been so helpful!

    • Jwphoto says

      I’m having this same issue. When I google my blog name these old blogger pages (these were my menu items, not posts) show up. I can’t find a way in blogger to change the url. Is there a way to redirect these individual pages or change their url? Deleting these blogger pages would be bad for SEO, right?

  18. Pascale says

    Hello, can you confirm where we should paste the 2nd code in function.php? I have read the Beginner’s guide to pasting snippets from the web into wordpress and it is still not clear.

    Thank you so much for your help!

  19. Vinayak SP says

    Above code not worked fully until you do this :

    Configure Permalinks on New WordPress

    From WordPress Dashboard, go to Settings -> Permalinks and select Custom Structure option and paste the following value next to it and save changes.


  20. Jas says

    Hello Syed,

    a) I notice in this article you specify the Permalink Settings as follows.
    “choose Month and Name”

    b) However in your How to “Move Custom Domain Blogger Blog to WordPress” your specify Permalink settings differently in custom format.

    2. I did not see the second article until I had already done the migration. I used a) above, then after the migration was complete, I changed it to b) above.

    Why the difference between the two? Did I create a problem by beginning with a) then changing to b)? The Google search links seem to link correctly from old posts to new. Is there another factor I am not considering?

    Thanks for your time,


    urgent, priority

  21. Tawnya says

    I have a question on where you copy the 2nd code on redirecting to wordpress do I just copy the code at the bottom of the functions.php file or is there a specific place on that page to copy the code??

  22. Tawnya says

    I understand all of this except where do I paste the code in wordpress when you say this?

    ***However, you still need to setup redirection on your WordPress site so that users are redirected to the proper posts.
    You need to copy and paste the following code in your WordPress theme’s functions.php file***

    Do I just copy that code you provided at the bottom of this section on my wordpress or do I need to make sure it goes in a specific spot??

    I hope that makes sense. Thanks for this tutorial

  23. Lyssa says

    Thank you for this helping tutorial
    i have been read almost full of your blog it’s very informative and helpful

  24. Millo Magnocavallo says

    Add to previous comment …

    I just looked at the source version of the text that’s been imported and in some cases the img tag is appearing like this:

    for some reason it’s not printing out the src?

    • Paul Wentzell says

      This happens for me, also. I do see that the images for those posts downloaded to the site directory, but it’s curious why they were not inserted into the src of the post.

  25. Millo says

    Hey! Thank you so much for a great tutorial / how-to. It worked really well, only that I’ve noticed that some images are not appearing in the imported blog posts. Do you have any idea why that might be?

  26. Olsi says

    I followed this guide and it worked very well, but I did a redirect test and it says 302 Moved Temporarily and not 301 as it should be.
    I`m I doing something wrong? Anybody else did a redirect test?

    • Paul says

      I’m also seeing a 302 from any redirect checker tool I am using. All links are indeed redirecting correctly, but 302 is making me uneasy.

  27. Gianluca says

    Hi, is it possible to import only several posts from the older blog, instead the entire blog?

  28. Thales says

    I found a work around…

    I have replaced the code (line 11):

    by the following 3 lines:
    var str = “”;
    var url_old = str.substr(7);

    It works fine and seems that I have kept my google rankings.

  29. Joel says

    I’m considering this option but am getting stuck on step #1. When I export an xml file from Blogger, the resultant file only includes 200 of my 1030 posts. Why? And what can I do to actually back up ALL of my blog.

  30. Wordpresser says

    Do you still need to redirect the blogger blog to the wordpress domain if the URL structure including domain, date, article name and .html ending of the URL will all be exactly the same on WordPress as they are on Blogger?

  31. Shelly says

    I have downloaded the blogger blog and am trying to import the file. It appears to be uploading but then I get the following error: Warning: Invalid argument supplied for foreach() in /home/content/p3pnexwpnas06_data02/87/2994987/html/wp-content/plugins/blogger-importer/blogger-importer.php on line 227
    The blogger blog has almost 2,000 posts. Could the size be the problem? I’m afraid I am a complete newbie and am following directions step-by-step.

    • Kinshuk says

      I am facing the similar issue to Shelly where I am getting following error:. I have around 2000 posts in blogger xml.


  32. Emilie says

    Thank you so much for such an informative and helpful video! I am totally a code newbie, but with your fantastic instructions, even I was able to get my blogger account to automatically send viewers over to my new domain. I only have one problem– and I think it has to do with the second set of code you had me post into the when the function.php file in wordpress. Rather than redirecting users to the specific article that they are attempting to reference in blogger, it just redirects to my entire, overall website. How can I fix it so that users who are clicking on old pinterest pins, etc, receive the recipe that they are looking for, rather than just a generic site where they have to search for the recipe they want? Thanks.

  33. Jericho says

    Thanks for this tutorial. I have a question, I am using custom domain in my blogger blog and this is the same domain I am going to use in WordPress. Do I have to disconnect the custom domain first and use the “” before heading to migration of my blog? If so, this will affect on my google rankings?

  34. Julia Taylor says

    Do you advise deleting the old blogger blog once the site is redirecting properly? Or should we wait for a certain period (if so, how long?)? Or is it best to leave it up for any reason?

      • Julia Taylor says

        Well I guess I am not 100% confident we aren’t going to get hurt for duplicate content, since we are still seeing activity in the “Stats” tab. How do I test to make sure that is not going to happen?

        • Jason Booth says

          The 301 redirect and canonical tag should alleviate the fear about duplicate content but what I’ve found that this technique is not redirecting mobile traffic.

          Mobile users are getting a different template on Blogger and not being redirected to the new site. I’ve been looking into it but have yet to find how to disable or change the template served to mobile devices.

        • Thales says

          I had the same issue (mobile users still accessing blogger). I have disabled mobile version in blogger and works fine.

          Log in to blogger; go to template; click ‘update template’; on the top of the page you have the mobile preferences. Click and disable mobile version; then click back in ‘Revert to classic template’ – Done!

        • Julia Taylor says

          I am glad Jason pointed out the issue that mobile users are not being redirected. Can you guys please help us figure this out? I need the blog posts on mobile to also be redirecting to the new site, which they are not.

        • Julia Taylor says

          Oops, I missed the comment from Thales. Just did that, and it appears to be working. Thank you Thales!

  35. Julia Taylor says

    I followed all your instructions and everything seems to be working just fine, but we are still seeing some page views in the old Blogger site’s stats tab. Is it tracking the pages/posts that are redirecting to the new self-hosted WP site? Or is something not set correctly?

    • WPBeginner Support says

      Your blogger blog is not just visited by humans but also by many bots, crawlers, automated scrips, etc. Some of these bots may request a cached version of your blog this will generate a page view in Blogger’s stats. You can see the device information in your stats tab for that particular day.


  36. Samantha says

    I’m trying to redirect my blog to my new wordpress site, but I’m turning all my blog posts into knowledge base articles.

    How would I modify the code so that redirects to

    The “/knowledgebase” part is automatically added by the plugin I’m using and is not part of the permalinks structure.

  37. Ketan says

    This was probably the easiest explanation of migrating from blogger to WP that I found till date. Thanks for posting. The redirect bit – that is something to do carefully.

  38. Kim Brookes says

    I wrote a bit ago. You should probably ignore what I wrote because for some reason now it’s working. It’s either working now because I copied the snippet for the blogger template again, and changed the “”s again. Or, because the links embedded on my WP site posts (that were ported from blogger) still have the blogger URLs, which WP interprets by substituting with, which goes 404 on WP.

    That is, in case it’s helpful, the post that was on blogger, now WP:

    included a link in the text to

    which somehow in the migration, or me doing something wrong, got changed into

    and that’s a URL that doesn’t exist (WP with a .html instead of /)

    So, mostly thanks for your awesome site. And ignore my previous comment.


  39. Kim Brookes says

    Awesome site you have here! I’ve used all sorts of the articles.

    I’ve followed all of the instructions on this “how to switch” page. Most of it is working, but the old links on Blogspot aren’t redirecting to my new domain. They’re going to a 404. This is because the old blogspot URLs end in .html, and the new WordPress URLs end with the post_title/
    as though it’s a directory instead of old-fashioned .html file. I think the issue is with the WP function code, but I don’t know the coding well enough to guess at how to make WP redirect to a (delete the slash, add “.html”) URL.

    Nor do I know how to add the coding to the WP permalink page. I don’t want to mess with this, though because I don’t want “.html” added to all of my new posts. For now, the only think I can think to do is to change the permalink individually on all of my migrated-to-WP blogspot posts. Yuck.

    Thanks for any help you can provide.

  40. Julia Taylor says

    Thank you SO MUCH for this post…it really helped me! I do have a question. Is it possible to redirect the main blog address to a page on the site? The reason I am asking is because the new blog is just part of site, and redirecting blog reader to the homepage might be confusing. So can can I redirect to, instead of I am a little nervous to go messing with your beautiful redirect code as I do not want to mess it up! Thanks so much!!!

  41. Christene says

    Before I begin doing this, I need to know something: Once all the content on my Blogger site is imported to WordPress…will all the imported posts automatically go live? Or will they import as a draft status? I wouldn’t want them to go live yet. The reason for the migration would be a stand-by thing, in case Blogger deletes my blog (they’ve already deleted two without any pre-notice to me, claiming they had spam), so I’m afraid they’re going to pull this stunt on my remaining blogs.

    So as a pre-emptive, I’d like to install WP, set it up and import, but keep all the imported content in draft status as long as my blogs are still up. If Blogger notifies me they took down my other main blog, then that’s when I’d switch the WP draft status to published. Will someone please let me know about this? I’d hate to have my articles live on BOTH sites at the same time.

    • WPBeginner Support says

      All imported posts will go live.

      You can go to Posts and click on the screen options button on the top right corner of the screen.

      Under number of posts to show, select a number higher than the expected number of posts you think you might have. Click on the apply button.

      WordPress will now show all your posts. On the top right corner of the posts list, you will find a checkbox to select all posts visible on screen.

      After selecting all your posts, under bulk actions drop down menu, select Edit and then click on apply button next to it.

      WordPress will now show you bulk editing options. Click on drop down menu next to Status section and then select Draft. Finally click on the update button. All your posts will now become drafts.


  42. Tiffany MacBain says

    I followed the steps to import to WordPress from Blogger and received the message (on WP) that the import was in progress. How long does the import process take? It’s been 30 minutes so far, and I see none of my Blogger posts on WordPress. Thanks!

  43. Laura McKissack says

    I wish I had come across this article a long time ago! I can’t believe I just crossed this off my to-do list in ten minutes. I’ve been putting it off forever because I thought it would be hard, ha. Now I have to figure out how to recover all the media files blogger has lost from my old blogs :( Any advice there?

    • Christene says

      I can’t believe you did this in only 10 minutes, Laura. It would take me at least 10 minutes just to READ through the instructions. And the images of all the HTML coding? And what to do with it? This looks as hard as the dickens.

  44. Shakir says

    Thanks for the great tutorial .

    But i want to ask that i also want to migrate blogger blog to wprdpress but i have to use the same domain name on wordpress , so what should i have to do for the proper redirection of posts to the new post urls so that the exact post url which is ranking in google should redirect to exact same post of wordpress ?

  45. mahesh says

    Hello ty for such a great article. I want to migrate my blog to WordPress. The template which I m having right now will it available after migration or I Will have to use other?? And if I loose that template then how can I insert new theme in WordPress?
    Plsss reply waiting for you

      • mahesh says

        I have already bought domain from godadday , now if I migrate to WordPress then how will I can use that in word press? I mean how will I able to transfer domain to WordPress? Pls repl

Leave a Reply to Nicole Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.