Added status code to the redirect.