Our company has multiple websites.Lets assume website 1 is demo.com and website 2 is example.com.
I wanted to add a link to demo.com to redirect me to example.com, but by keeping the URL of demo.com. So for instance, i need to display contents of example.com to demo.com/linkedwebsite. So instead of redirecting the link demo.com/linkedwebsite to example.com, i need to display the contents of example.com on demo.com/linkedwebsite?
I dont want to copy and paste the code, i would rather want to redirect automatically.
How can this be done? I just need a direction to get me started. We use codeigniter framework for our website.
I dont want to use IFRAME as example.com exists within our network only, so a client will only see a blank frame as they wont be able to access that information. Also we cannot use cURL as an option because the example.com website works on Java applet. So that wouldnt solve this issue.