Rewrite redirect link