How to hide the domain name of external service?

I want to access a URL, say google.com. I want to access this using /google, but it shouldn’t be a redirect, that is, the URL should remain intact after we hit the URL (/google).
I followed this article - Istio Service Mesh: How to easily redirect To external resources
But when I hit /google, it redirects me to google.com (the URL is not remaining intact)