0
I have the file. htaccess and want to take the file extensions less than the following: index.php and the system/functions/ folder which is the pas where my processing is
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)\.php
RewriteRule ^ /%1 [L,R=301]
Possible duplicate of Remove . php extension except from a file
– RFL