I migrated my old forum to Flarum and I now want to setup redirects for the old URLs. Besides Thread URLs the old Forum also had Post URLs that where used when referencing a post. The had the form
/post/1234. Is there a way I can redirect that to
Flarum's /d/5789/3 URLs?
Basically I need a route that takes the post ID, looks up the associated discussion and post number and does a redirect. Is there an extension for that? If not could you point me to an extension that does a similar thing so I have a starting point to write my own?