Question

I am trying to understand how it is possible to load a website using an iframe, but make all links go through your site. Thanks.

Was it helpful?

Solution

You can not, What you're willing to do is called a proxy.

You should get the target site in your server-side script (PHP+CURL e.g), find and replace links programatically and represnet the new data to the user.

OTHER TIPS

You can't accomplish this with just HTML. The site you are linking to has a server-side application that transparently rewrites all the links in the page to go through their website.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top