added 301 status code to redirection