301 redirect not working for links to files