Answer the question
In order to leave comments, you need to log in
nginx settings?
There is such htaccess
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
The site was moved to a server where nginx is used, now internal pages give a 404 error. How to correctly write such a redirect for the nginx config?
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