PHP gateway

Download a PHP file that redirects, or one that prints the destination, and host it yourself.

Gateway files run on your server, not on Link Factory. They are a copy of the current target. If you later change the target in Link Factory, download a new file. The old file will not update itself.

  1. Open the link and choose Gateway.
  2. PHP redirect downloads link-factory-redirect.php. Put it on a PHP host. Visitors who request that file are sent to the target with the same 301, 302, or 307 mode as the link.
  3. PHP proxy downloads link-factory-proxy.php. That file tries to read the destination and print the HTML on your host. Use it only for pages you are allowed to mirror.
  4. Upload the file over SFTP or your host's file manager, then request it in a browser.

A proxy can break pages that depend on their own domain, and it can copy content you do not have rights to. Prefer the redirect file unless you have a specific reason to print the HTML.

Next: Passwords, bots, and pixels

Create account