Answer the question
In order to leave comments, you need to log in
How to convert apache RewriteRule .htaccess to nginx?
How to convert to nginx and where to embed? location / server
Opening site.com/page.php files as site.com/page/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^([0-9,a-z,-]+)/$ $1.php
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question