How do I use the Redirect script?

This article applies to Linux Dedicated Servers.

This article explains how to use the free CGI script named redirect.

Redirect is a free CGI script which you can install onto your account via the CGI Scripts page. The script allows you to redirect users to pages on your site using HTML forms.

The Redirect script resides in your cgi-bin directory, reference the script in the action tag of your HTML form as illustrated below:

<form method=”post” action=”/cgi-bin/redirect.pl”>

This code calls the pre-installed script when the web page visitor clicks the Submit button.

The HTML form should contain at least one field, named page. The content of this field should be the full URL of the page to which the user should be redirected upon submission of the form without the http prefix.