Reference patches to beautify redirection URLs