I am trying to figure out how to remove .php extension from my URL's.
I did have this setup, but recently I redirected my trailing slash URL's to clean URL's without it. i.e http://www.customlogoshop.com/logo-design/ goes to http://www.customlogoshop.com/logo-design.php
But the .php extension URL I do not want. I want it to just be /logo-design
Any help would be great please!
Options -Indexes
Options +FollowSymlinks
<Files .htaccess>
deny from all
</Files>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*[^/])/?$ /$1.php [L,R=301]
</IfModule>