Come funzionano i permalink da vanilla a discourse reindirizzamento?

how does permalinks work from vanilla to discourse redirection?