method for static page routing