pawiromitchel
1/2/2017 - 2:16 PM

htaccess - To remove the .php in the url

htaccess - To remove the .php in the url

RewriteEngine on 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteCond %{REQUEST_FILENAME}\.php -f 
RewriteRule ^(.*)$ $1.php