title: Redirect based on referrer URL
body: <p>In my site I have a password protected page containing some links to other sites also operated by myself that cannot be password protected. I would like to place a HTML code onto one of the other sites I operate that checks that the person arriving at the page has been referred from the URL of the <em>'Links Page'</em>.</p>
  
  <p><em>(I understand that this is not a secure option)</em></p>
  
  <p><strong>Summary:</strong> </p>
  
  <pre><code>If Referrer = 'Links Page URL' *then* Do nothing *Else* Redirect: www.google.com.
  </code></pre>
  
  <p>Does anyone know a simple HTML/ Javascript code that I can copy and paste into my site?</p>