title: Allow user to access wordpress blog only from a specific URL using htaccess
body: <p>I run a wordpress blog. I want my blog to be available only for those users who come from a particular website only. Other users who type URL of my blog in the browser should not be able to access my blog. </p>
  
  <p>The idea behind putting that restriction is that only registered users of that particular website can access the blog. There would a link of my blog on that particular website, which only registered users can see, click and access. </p>
  
  <p>And both the sites i.e. that particular website and my wordpress blog are hosted on the same server.</p>
  
  <p>I am using following code in wordpress .htaccess file.</p>
  
  <pre><code>&lt;Files index.php&gt;
  order allow,deny
  allow from abcd.com/moodle
  deny from all
  &lt;/Files&gt; 
  </code></pre>
  
  <p>facing:  Internal Server Error</p>
  
  <p>Looking forward to get a prompt reply.</p>
  
  <p>Thanks in advance!</p>
  
  <p>Regards,
  Dinesh</p>