Improve og:url value generation.