Migrating the Data
I wrote previously how I made the decision to make static snapshots of my Wordpress post pages and install these rather than actually porting the database from Wordpress to Drupal. Since I close down comments on posts anyway, there really wasn't a compelling reason to keep the old pages in "live" versions.
By creating static snapshots, I don't have to worry about implementing the same URL structure in Drupal that I had in WP. I also didn't have to worry about any data migration issues, nor did I have to carrying around 20,000+ records when I am, essentially, starting over.
The static pages are installed here in RealTech, and at the now closed down main Burningbird weblog. The old pages feature the old web page design, and are located in the same permalink structure. In addition, there's a Google search form in RealTech, which allows searching on keywords across old and new pages. This is in addition to my Drupal maintained search capability.
To recap, I made the static pages using the utility wget.
wget --mirror -w 3 -p --html-extension http://realtech.burningbird.net
To ensure that the .html extension pages are served as XHTML (since I used SVG in my site design), I added the following to the .htaccess file:
AddType text/html .xhtml
RewriteBase /
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
RewriteCond %{HTTP_ACCEPT} !application/xhtml\+xml\s*;\s*q=0
RewriteCond %{REQUEST_URI} \.(html|xhtml)$
RewriteCond %{THE_REQUEST} HTTP/1\.1
RewriteRule .* - [T=application/xhtml+xml]
There are Wordpress to Drupal migration modules, though I haven't found a clear story on the issue. Most sites that ask about migrating from Wordpress to Drupal end up being inundated by Wordpress fanboys, asking why would a person want to move from Wordpress to Drupal. I imagine the same occurs when a person asks about moving from Drupal to Wordpress.
The web site Adding Understanding seems to have the best write up on moving from WP to Drupal.



