modify redirect url.