title: Change the url parameters of incoming link
body: <p>If I a user comes to the site </p>
  
  <pre><code>http://subdomain.example.com/faq/index.html
  </code></pre>
  
  <p>how to I pass it to the server as </p>
  
  <pre><code>http://subdomain.example.com?q=subdomain.com/faq/index.html?
  </code></pre>
  
  <p>The key is that I want the url to still look like the first URL, so I wouldn't want to redirect it.</p>
  
  <p>I am also using php but I don't think I can accomplish this with it.</p>