I've recently ported a custom blog over to WordPress 2.0.2. Everything works great and so forth, the only problem I've got at the moment is my inability to come up with the correct mod_rewrite rules or a hack that would be able to redirect old URLs to their new locations.
An old URL looks something like this:?mod=viewblog&id=123
Since I was able to keep post id's the same, all I have to change basically is that ?mod=viewblog&id= bit to ?p= attaching the id at the end.
I've tried (unsuccessfully, naturally) so far to do this via mod_rewrite and more recently but adding some hacks to WP's index.php. Currently my .htaccess only contains WP's mod_rewrite rules.
Any help would be appreciated.