get the page with the higher position if the url matches 2 or more pages