1
Hello!
I have my system in php, added the file . htaccess
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]
It worked very well, but I wanted you not to remove the extension only from index.php
Thank you in advance
It is difficult to change the context of the question after answered. Your change has changed a bit the sense that was asked. This is a waste of the time of colleagues who stop to read and help, I recommend that next, try to elaborate better so that you already get what you want.
– Bacco
I really didn’t pay attention, but so I’ll learn, thanks for the tip
– adventistaam
doubled with the new one: http://answall.com/questions/180379
– Daniel Omine