Method to get the current page URL.