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 :-)

E.g. `list.php?t=new` is rewritten to `new-products/`

However to day I could see that googlebot tried to index a page based on the original URL (`list.php?t=new&ipp=25`).

Should I put logic in my .htaccess file to block access to all .php files? Or how is this to be handled?

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...