Saturday, June 14, 2008

Blogger To Wordpress Redirection Plugin with 1-to-1 Mapping Between Old and New Blog Posts!

image

If you have imported your blog from blogger (blogspot.com) then you might be redirecting visitors from your old blogspot blog to your new wordpress blogs HOMEPAGE. While this approach ensures you get all the traffic redirected from your old blog to new blog, a visitor may feel lost! What if a person is referred to your old blog via search engine or other link listings?

So this plugin just takes care of this part. It checks for which post people were looking on old blog and then redirect them to same post but on new blog!

This plugin assumes following things:

  • You used wordpress blog importer while importing your blogspot beta blog.
  • You put javascript or static link on your old blog to redirect visitors to your new blog. META tag redirect may not work.
  • You have imported only one blog. In next version I will remove this restriction.

Installation:

  1. Click here to download Blogger To Wordpress 1-2-1 Redirection Plugin. A file rbBloggerToWordpress.zip to your PC. Unzip it.
  2. Upload rbBloggerToWordpress.php into ‘wp-content/plugins’ folder.
  3. Go to plugins option under wordpress’s Admin panel. You will see a "Blogger To Wordpress Redirector" Plugin Listed there. Blogger_to_Wordpress_redirector
  4. WAIT! Do NOT click Activate. First Click Edit.
  5. On next screen put your old blogspot blog address next to $oldBlogURL variable! For ease search rb286.blogspot.com and replace it with your blogspot address.
  6. Then click Update File link their to save changes.
  7. Go back to plugins page and this time Activate the plugin!

That’s it! This plugin will now onwards map your old blogspot post to new wordpress posts on 1-to-1 basis.

Known Issues:

  • Popular desktop blogging client Windows Live Writer stops working if you use this plugin. But there is temporary workaround. Disable the plugin & paste following code into current templates index.php [i.e. Main Index Template] before everything else! [Path: Admin Dashboard >> Presentation >> Theme Editor]

#Code: [Note: Replace rb286.blogspot.com with your old Blogspot address]

Do not worry about this plugin breaking anything as it doesn’t perform any write on database!

Let me know if I am missing something as this is my first wordpress plugin.

I will write in more details soon. Its 10 AM here in India. No I didn’t wake up early. I haven’t slept yet so Good night! :-)

No comments: