<!-- REDIRECT REDIRECTS --> <!-- This goes in the HEAD of the html file --> <script language="JavaScript" type="text/javascript"> <!-- Copyright 2005, Sandeep Gangadharan --> <!-- For more free scripts go to http://sivamdesign.com/scripts/ --> <!-- if (document.referrer == 'http://www.domain_name.com/example.php') { alert('Visitors from the URL:\n '+document.referrer+' \nare not allowed to view this page!'); location.href="http://www.google.com"; } // --> </script> <!-- Just change the URL 'domain_name.com/example.php' above to the URL using the redirect. In the example above the viewers coming to the users page due to such redirects would be taken to Google. Instead of Google users can send them anywhere they want by just changing the URL. -->