Proxy-pass old site into new site iFrame

The goal is to keep content in our old CMS and surface it in the new website.

There hundreds of URLs that exist with specific content as well as tracking parameters that already exist. The goal is to proxy-pass the new URL to an embedded version of the new site.

We do not want a 301 or 302 redirect because that will change the URL that already exists and does not carry over arbitrary query parameters – see: Preserve query parameters on redirect - #59 by abohannon. This existing issue is why we need to use the proxy-pass through until we officially migrate all content to the new system.

The issue I’m seeing right now is when I go to https://example.com/all/blogs/some-key I get our 404 page, which means it is not doing the proxy pass to the https://example.com/old-site.