Added fallback for page tab url if the page is not published