This script works perfect it forces the trailing slash and hides the .php extension
BUT! it does not redirect people going directly to the .php extension.
How can I also force people going directly to the file.php to /file/
RewriteEngine On RewriteRule ^(.*)/$ /$1.php [L]
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !(.)/$ RewriteRule ^(.)$ http://www.mysite.com/$1/ [R=301,L]