We currently have a bunch of ASP.NET applications which are all accessible through one domain.
www.example.com connects to the main website.
www.example.com/documents is a separate application allows customers to access their documents.
This is hosted in IIS with the documents branch being an ASP.NET application.
Customers have emails that link to their documents like:
We're looking at updating the main website and separating it from everything else - moving it to a separate host - most likely an Apache/WordPress setup.
With this in mind the original domain name would go with the main website, and then a secondary domain would be setup which would continue to hold the documents application on Windows/IIS.
In this scenario is it possible for Apache/WordPress to redirect just the documents sub folder/page to the new domain without the URL changing in the browser?
www.example.com/documents goes to
but the customers sees
I know I can setup a 301 redirect but that changes the URL the customer is presented and ideally I'd prefer it if we can keep it the same. Effectively forwarding the content.