Replace the redirect url