modify all static pages rooting