I had an assignment of moving Joomla 1.0 content, categories and other stuff to the latest WordPress. Everything went fine, a few PHP scripts, a bit of fiddling with MySQL. But then, unexpected problem arose. I have to change permalinks to that:
$sitename/content/view/$post_id/$menu_id
The variables are from Joomla, and they have nothing to do with WordPress. I solved $menu_id
thing through post_name in DB. But now I have to change the $post_id
too, because it is exactly shifted by 44 (42'd be better though :) due to categories added first.
So finally the question: can I somehow subtract 44 from the %post_id%
I have in my permalink settings? (sth like "content/view/(%post_id% - 44)/") Or maybe a small change in the WordPress code?
Thank you.