Simple Redirect - CGI Link Cloaking
This script will allow you to send your visitor to a hidden url.
Some Uses for this script:
- Cloak/Hide/Shorten Affiliate Link
- Shorten Long URL's
- Track certain links
Requirements:
- Perl/CGI Permissions on your web server
- You must know your path to Perl
Example:
Turn a link like this:
https://secure.hostgator.com/cgi-bin/affiliates/clickthru.cgi?id=ednit
To this:
http://robferrall.com/example/hosting/
or this:
http://robferrall.com/example/website-hosting.htm
https://secure.hostgator.com/cgi-bin/affiliates/clickthru.cgi?id=ednit
To this:
http://robferrall.com/example/hosting/
or this:
http://robferrall.com/example/website-hosting.htm
Code:
How to use
Simply copy and paste the code above into a text file and save it with a .cgi or .pl extension (unless you're an advanced user). Follow the instructions written in the code if you run into any issues.