Change redirection url to relative path