I'm migrating from my old site to my new wordpress powered site, everything is going ok, I've already imported my old site's posts to wordpress and they share the same ID which means that I can redirect the people that search for my old site's URLs to my new one.
is there a way to redirect all the links that have this structure:
/discussion/%post_id (old site's permalink)
?p=%post_id (the default wordpress permalink) ??