Fixed 404 and redirects