title: Redirect any GET request to a single php script
body: <p>After many hours messing with .htaccess I've arrived to the conclusion of sending any request to a single PHP script that would handle:</p>
  
  <ul>
  <li>Generation of html (whatever the way, includes or dynamic)</li>
  <li>301 Redirections with a lot more flexibility in the logic (for a dumb .htaccess-eer)</li>
  <li>404 errors finally if the request makes no sense.</li>
  </ul>
  
  <p>leaving in .htaccess the minimal functionality.</p>
  
  <p>After some tests it seems quite feasible and from my point of view more preferable. So much that I wonder what's wrong or can go wrong with this approach?</p>
  
  <ul>
  <li>Server performance?</li>
  <li>In terms of SEO I don't see any issue as the procedure would be "transparent" to the bots.</li>
  </ul>
  
  <p>The redirector.php would expect a query string consisting on the actual request.
  What would be the .htaccess code to send everything there?</p>