Change relative path to page name