I inherited an old looks like PHP 5.x site. I stood it back it back up. However it looks like before the site went down one of the files, a file called redirect.php, was lost. I can tell this from the Internet Archive. Additionally when i got a dump of the old site it doesn’t have it either .I’m trying to figure out how to rebuild this or at least recreate the functionality.
It appears all the file did was send the user to another url, possibly putting the contents of the site in the same frame. Here’s an example of how this is used. The result ends up being a 404 error within a frame on the main site. I am in no way a PHP coder, not trying to be, but is there some way of creating something in PHP that would rebuild this? I’m sure I could instead replace all instances of urls like this with just the url of the target site. I assume the result would be the site would not appear in the same frame maybe. This would be ok and what I might resort to. Thanks ahead of time.
https://www.mysite.com/redirect.php?url=http://www.someothersite.com
I did find this topic but I’m not clear what I would put in the redirect.php file which i don’t have on my site. I’m assuming this is my problem and i need to create one.