Redirect to an external link after submission not working