Hiding .php extension

Create an additional PHP type content entry with URL pattern set to / (root), and paste following into Advanced > Custom Configuration field:

try_files $uri $uri.php $uri/;
Drag this entry to put it above all others. 
Save your configuration.

Ця стаття допомогла 5 людям. Чи допомогла вам ця стаття?