Redirecting the old forum urls to the discourse

Right! Permalink works only for incoming URLs. I bet this is the problem.