mod_rewrite, hack or whatever I’d need to get this working
-
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 postid
‘s the same, all I have to change basically is that?mod=viewblog&id=
bit to?p=
attaching theid
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’sindex.php
. Currently my.htaccess
only contains WP’smod_rewrite
rules.Any help would be appreciated.
- The topic ‘mod_rewrite, hack or whatever I’d need to get this working’ is closed to new replies.