Migrating from Blogger to WordPress has been a headache task earlier on. But, things changed. With the new plugins available in WordPress, it becomes a cakewalk.
Why 301 Permanent Redirection?
Before I go on to the topic, I want to tell you why 301 permanent redirections?
If you move your website from one platform to another without 301 redirections, you will see a “Google Not found “page. You will lose all your SEO and traffic.
If you move with 301 redirections ( Permanent URL redirection), it means that your blog has been permanently moved from one blogging platform to another, and the records should be updated. The link will actually display “301 moved permanently” rather than “404 not found“. Thus all your incoming traffic will be redirected to the current one.
Steps for Blogger to WordPress migration
The first thing you need to do is, log in to your WordPress website with your login credentials. Under the tools section, you will see a sub-option called import.
Once you have selected that, you will see every blogging platforms that WordPress supports importing.
The most popular ones are:
- Categories and Tags Converter
- Movable Type and Typepad
This time, we will be using the Blogger platform. So, click on the install now button.
Once you have installed it, click on the run importer button.
If you are wondering, we are installing a WordPress plugin called Blogger importer inside our blog. It is a free plugin and can be downloaded from the WordPress plugin repository. If you prefer the manual way to install a plugin, you need to check out this method.
The plugins’ settings would look like this:
You need to log in to the blogpost site and generate an XML file with your website’s content. After that, you can import all the files through this wizard, and your website is ready to go.
As we mentioned, log in to your blogger website, generate an XML file first. Log in to your blogspot site and go to the settings. Under the settings, you will see an option called Other settings.
From there, you can generate a backup of your blog. Once you have exported the content, you need to save it to your computer. So, we can use it later on our WordPress website.
Save the file to your computer. Now, get back to the WordPress dashboard and choose the file. You need to click on the upload button to start the import process.
The max file upload size may be different according to your WordPress installation. If the file’s size is too large, WordPress will take several minutes to complete the process. Once they have processed your XML file, you need to assign a custom author with the posts or create a new one.
After completing it, you can check your posts section. You will see all your blogspot posts there.
This is the most simple way to complete blogger to WordPress migration. As you can see, we have completed the migration successfully. The next thing we need to do is, set up the permalink structure.
From the WordPress settings, you can see the permalink structure.
By default, WordPress will save the /%postname%/ as the permalink structure. But, we can always modify it, add custom tags. In this case, we need to match the permalink structure with our old model.
So, we need to assign the permalink tags like this:
Once you have updated the tags, save your permalink. Now, when someone visits your old blog posts, they will never see a 404-page error. Thankfully, it will also help us to keep our search engine ranking positions stable.
Sometimes, WordPress will face some conflicts with your blogger slugs. For fixing that, we have got a custom code snippet. You need to copy the code snippet from below.
Now, paste it inside your theme’s functions.php file or on a site-specific plugin. We will not keep the code snippet forever. So, the theme’s functions.php file is good enough.
Go to the theme editor, select the functions.php file from the right side.
Go to the bottom, paste the code and update the file.
Now, you need to visit any of your blog posts from the front end. After that, you can remove the custom code snippet we added from the functions.php.
After removing the code, make sure that you have updated the file.
This way, we can ensure our website visitors are landing on the right blog post/ page.
301 Redirection Code Fix
To avoid redirect loop error, we will have to make some changes in the .htaccess file of your WordPress website. If you have Yoast SEO Plugin installed on your site, you will have to navigate the .htacess file by choosing Yoast SEO » Tools » File Editor.
Recommended Read: How To Generate The Best Post Titles (8 Tools)
If you don’t have the Yoast SEO plugin, you will have to open your cPanel. Usually, the .htaccess file would have been hidden in cPanel. When you open cPanel files, you will have to choose to display the hidden files too. Only then .htaccess file can be accessed. You can find the .htacess file in this path of your cPanel: /public_html/
The next step is to enter the following code:
The above code was provided by ShoutMeLoud.
That’s it. You have migrated from Blogger to WordPress successfully with 301 redirections. You may have some errors on your website. To solve this, you will have to install the Broken Link Checker plugin and Redirection plugin to solve the link errors. You will have to submit the new sitemap to Google Search Console so that you will not see any drop in traffic.
If you need any help, feel free to use our contact form. Or, you can also comment down.
Related Articles You Might Like:
- Best WordPress Speed Hacks To Improve Vital Score (12 Tips)
- How To Build a WordPress Website Offline (Using LocalWP)
- Why cPanel WordPress Hosting Is Best For Beginners (Reasons Explained)
- How To Install a WordPress Plugin (Step-By-Step Guide For Beginners)
- WPForms vs Wufoo: Which Is The Best WordPress Form Builder?