fix a ton of SEO broken links and redirect issues