Fix redirect url.