Closed coltoutram closed 5 years ago
Is there a way to remove the file extensions from the URL? I use a rewrite rule on my webserver to remove them. It doesn't rename the file but just means you can access the links without the .png at the end.
Example: test.com/test.png = test.com/test
Implemented, you can now use the URL_STRIP_EXTENSION constant for that purpose.
URL_STRIP_EXTENSION
Is there a way to remove the file extensions from the URL? I use a rewrite rule on my webserver to remove them. It doesn't rename the file but just means you can access the links without the .png at the end.
Example: test.com/test.png = test.com/test