I am doing a reverse proxy to a WordPress website and I need to hide the domain it is on in the source code for web crawlers. The assets in /wp-content/ will stay on the WordPress site domain, but I need all the posts, pages, archives, author, etc... links to have the domain removed and just be /path-to-post/. How do I do this? Example:
From: href="https://www.wordpress.com/blog/post/name-of-post/"
To: href="/blog/post/name-of-post/"