changes routes for static pages