So basically, I have a rewrite rule, so if people write /xyz12 it works as serve.php?id=xyz12, now I want to remove the .php on all files, so if a person types /overview, it should open up overview.php. This is in my current htacess file
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^(\w+)$ ./serve.php?id=$1