Monday, November 03, 2008
« Recent Happenings at Casa dé Hamb... | Main | The Saga of the Offline Casa »

I’ve been playing around with WordPress and would like to migrate casadehambone.com over from DasBlog. However, I also want to retain all of the content on casadehambone.com and, ideally, maintain the permalinks as well. Anyone have some recommendations or guidance for accomplish this?

Technorati Tags:
Monday, November 03, 2008 10:14:19 AM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [1]  | 
Wednesday, November 05, 2008 8:50:48 AM (Central Standard Time, UTC-06:00)
I don't know how dasBlog stores it's data (I seem to remember it was in an XML file), but the WordPress schema is pretty straightforward. Posts live in wp_posts. You'll probably want to setup your permalinks to be the Post Title to match what you have here, then when you migrate the posts, make the "post_name" field match your premalink structure on dasBlog since WordPress normally substitutes hypens for spaces.

One other thing to keep in mind is that if you are going to run on IIS, you'll probably need to do a bit of hacking to get the URL rewriting to work. By default, WordPress will write out the URL rewrite rules to .htaccess, which is for Apache. Back when I was on IIS, my host wouldn't allow URL rewriters on the server, so I took the route of having a custom PHP file for my 404 error page that basically passed the request back to the index.php file for WordPress. I may still have it as my Window hosting account hasn't expired yet.

Good luck. WordPress is a pretty cool platform.
Comments are closed.