title: PHP Rewrite Rules
body: <p>The actually URL which my app uses is:</p>
  
  <pre><code>http://site.com/search.php?search=iPhone 
  </code></pre>
  
  <p>but I would like it to be possible to achieve the same with </p>
  
  <pre><code>http://site.com/iPhone
  </code></pre>
  
  <p>I have no experience of rewrite rules, how can I set this up?</p>
  
  <p>The solution has worked but the new URL is displayed in the address bar. I thought it would have been possible to set this up so that it appears as though the page location is </p>
  
  <p><code>http://site.com/iPhone</code> </p>
  
  <p>without changing to display </p>
  
  <pre><code>http://site.com/search.php?search=iPhone 
  </code></pre>
  
  <p>Is this possible? Thanks.</p>