title: How do I create a static page and redirect to a WordPress blog without moving files?
body: <p>I have WordPress installed in the main directory. I want to create a static page so that when the person clicks "click here". It goes to the wordpress blog.</p>
  
  <p>I have tried this two ways thus far.</p>
  
  <ol>
  <li><p>Created a custom page in wordpress and then had it set as a static page. Problem when someone clicked the linked it redirected back to the splash page.</p></li>
  <li><p>Put the files in the main directory. Problem the person would have to go to www.example.com/splash.html to get there. I tried creating a htaccess but host gator will not let me.</p></li>
  </ol>
  
  <p>edit: I figured it out using</p>
  
  <pre><code>&lt;?php
    if( (strpos($_SERVER['HTTP_REFERER'], get_bloginfo('home')) === false) &amp;&amp; !$_SERVER['QUERY_STRING']) :
  ?&gt;
  </code></pre>