making sure that the public cms prefix path is reflected in the page.url method. fixes #500