Fix broken links and resolve 301s.