Blogger import and maintaining old blog URLs

I exported my site from the Blogger console, which produced a big XML file of my site in Atom feed format.  Now what? I can import by

  • Adding the Blogger import plug-in to WordPress, which seems to ignore the export and may assume it can access my blog on
  • Using the WordPress RSS importer plug-in to import the XML file
  • Using the Blogger2WordPress online tool to convert the XML file into WordPress .WXR format, then import that.

So much to decide, and most guides on the web are all from 2006 and 2008.

While I puzzle this out I want to keep my old blog URLS working. WordPress let me have Permalinks (using Apache mod_rewrite rules) for my blog entries that have almost the same structure as Blogger posts, except the link appears as a directory ending in /, not a .html file.  Since every URL that Blogger produced (not just to posts, but archives, and labels) ends in .html, it seems there’s no conflict between a WordPress “Permalink” like /blog/2010/09/blogger-import-or-maintaining-old-blog-urls/ and a Blogger static file like /blog/2006/04/skiing-salomons-missteps-since-xscream.html.  So all I had to do is add the WordPress script to my blog directory and the new URLs intersperse with the old… It seems to work!, and it’s simpler than writing my own mod_rewrite rules to point to a /blog-old directory.

About skierpage

As you might guess, my site is mine. My info is at .
This entry was posted in web and tagged . Bookmark the permalink.

One Response to Blogger import and maintaining old blog URLs

  1. skierpage says: is probably the best guide to importing Blogger, and it uses the Blogger plug-in to talk to rather than loading the Atom XML file. It’s a little daunting to have to run the database script ("UPDATE $wpdb->posts SET post_name ='" . $slug[0] . "' WHERE ID = $row->post_id") to get the new and old URLs to match; for my hundred posts maybe a redirect file is simpler. Hmmm.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.