I have PHP project on my localhost, which is running a XAMPP stack.
I want to remove the .php extension from all user-facing URLs.
I've tried using Apache's mod_rewrite in an .htaccess file:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^locations(/.*)?$ poet.php [L,NC]
</IfModule>
But it is "not working".