SYSTEM INFORMATION | |
---|---|
OS type and version | Ubuntu Linux 22.04.2 |
Webmin version | 2.021 |
Virtualmin version | 7.7 |
Web Server | Nginx version 1.18.0 |
Have a plain .php site with about 10 pages. Client has asked if we can add rewrite rules so that https://domain.tld/services.php looks like https://domain.tld/services/
They want this plain site to behave like the “post name” WordPress permalinks option.
I’ve tried several variations and I cannot get it to work correctly - is there something preventing this behavior on VM? Any thoughts/suggestions? The link below is my basis for the nginx configuration.
Site reference: FreeKB - Nginx (Web Server) hide .php extension
Thanks!
– Craig