changed urls to pages