Fix routes and templates for 404 and robots.txt