# Blogger Redirect Handler ## Description When migrating from Blogger to WordPress, the importer creates a `blogger_permalink` meta key for each post and page. This plugin catches $_GET query parameters and does a lookup for a post/page with the matching postmeta, then redirects to it. ## Installation 1. Import blogger posts from Blogger to WordPress using the [Blogger Importer](http://wordpress.org/extend/plugins/blogger-importer/) 2. Install this WordPress plugin in typical plugins folder, then activate 3. Modify Blogger template to redirect to your WordPress blog, using JavaScript snippet below (change "example.com" to your domain). [Screenshot](https://skitch.com/bigdawggi/8k8k2/blogger-redirect) <script type='text/javascript'> var blogRoot="http://example.com/"; var Redir = (document.location.pathname == '/') ? blogRoot : blogRoot + "?blogger_redirect="+document.location.pathname.toLowerCase(); document.location.href = Redir; </script>
johnmwright/Blogger-to-WordPress-Redirect-Handler
WordPress plugin that redirects requests for a blogger post to the correct WordPress post
PHP