title: php redirect with HTTP query string variables
body: <p>atm I'm using the following four lines to redirect the user to another page on my website:</p>
  
  <pre><code>&lt;?php
      header("Status: 301 Moved Permanently");
      header("Location: ./content/index.html");
      exit;
  ?&gt;
  </code></pre>
  
  <p>but there is a problem with the use of HTTP query string variables like <code>http://&lt; url &gt;?param=blah</code><br>
  they don't get appended to url understandably.</p>
  
  <p>Is there a smart move for implementing this?</p>
  
  <p>greetings</p>