change the redirect url to the post url.