Rectify issue accessing static pages