Skip to content

Tag: url-rewriting

Remove the .php extension on all pages (NGINX)

Having tried all the solutions on Stack, I was not able to remove the .php extension. I managed to make the URLs accessible: www.mydomain.com/login but the user can always change the URL to www.mydomain.com/login.php and I’d like to avoid that. Here is a part of my config : Answer This might be what you…