title: How to handle original .php files on a site with userfriendly url's (mod_rewrite)
body: <p>I have this site which uses userfriendly URL's. I'm new to this and do not have so much expirence so far. I have everything working for now :-)</p>
  
  <p>E.g. <code>list.php?t=new</code> is rewritten to <code>new-products/</code></p>
  
  <p>However to day I could see that googlebot tried to index a page based on the original URL (<code>list.php?t=new&amp;ipp=25</code>).</p>
  
  <p>Should I put logic in my .htaccess file to block access to all .php files? Or how is this to be handled?</p>
  
  <p>I don't know where where GoogleBot found this URL. It's not on the site as it's active today. Maybe from cache or something...</p>