Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
This is how you can remove the php extension from the file in the uri. How to completely remove the file name, I think you can guess for yourself.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question