Web Marketing Blog

Experiences of a Full Time Freelancer on SEO, Writing, Promotion and Marketing

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:


Code:

Select all then press Ctrl+C to Copy

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.