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.

Cet article a été utile pour 5 personnes. Cet article vous a-t-il été utile ?