proteger url de todas mis paginas php con .htaccess
He probado con este código
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
Y no me funciona, Estoy en localhost y utilizo windows 7 y XAMPP