title: htaccess rules. Allow from specific IP and Referer only
body: <p>I am trying to add an htaccess rule that will do the following.</p>
  
  <p>Allow specifc IP(s)</p>
  
  <p>Allow from a specific refer (another domain)</p>
  
  <p>Deny Everyone else</p>
  
  <p>Denied redirected to a specific URL. (another domain) </p>
  
  <p>This is a wordpress site a and thought of use htaccess unless there is another way. Thanks for you help in advance. </p>