Migrating From Blogger To WordPress Without Losing Rankings
October 3, 2017 / by Peter Johnson / Categories : Theme CodingIntro To Blogger.
Blogger is an awesome blog publishing software service that allows multi-user blogging accounts. Generally speaking, the blog is hosted by Google as a subdomain of blogspot.com. Blogs can also be hosted under custom domains owned by the registered blogger. And a user can have up to 100 blogs per account. If you already have a blog on blogger at some point you may decide to take full control of your content and re publish this on a custom WordPress website.
Let’s get started
We will show you here step by step how to move your blogger account and content to a self hosted WordPress.org website.
Step 1
You first need to take the precaution of backing up your blog using the blogger backup utility, you can find the instuctions here Back up, import, or delete your blog
Step 2
Now you can start the import proccess to your WordPress website. We tried without much success to use the standard wordpress Blogger import plugin WordPress.org plugins Importer
We then used this plugin 301 Redirect This works like a charm and will also give you the code for setting up the redirects, as explained in step 4.
Step 3
You now need to set up the permalinks in WordPress to be the same as the Original post URL’s
Step 4
Once this is set up you can now add the redirect code to the template editor in your account.
Follow the plugin instructions to do this.
Basically we add the rel canonical links. Using the template data variables to get the URL’s of the Blog page.
<b:if cond='data:blog.pageType == "index"'> <link rel='canonical' href='http://www.example.com/' /> <meta content='0;url=http://www.example.com/' http-equiv='refresh'/> <b:else/> <link rel='canonical' expr:href='"http://www.example.com/?br=" + data:blog.url' /> <meta expr:content='"0;url=http://www.example.com/?br=" + data:blog.url' http-equiv='refresh'/> </b:if>
And some basic Javascript to create a smooth redirect to the new site.
<script type='text/javascript'> var wpblog = "http://www.example.com/?br="; wpblog = wpblog + window.location.href.replace('http:',''); window.location.replace(wpblog); </script>
Please leave a comment if you need help with this or have found this post useful in any way shape or form .
0 comments