updated htaccess

This commit is contained in:
Gary 2025-05-14 16:01:04 +01:00
parent 6c1cc1778a
commit dfe4f527f8

View File

@ -1,4 +1,6 @@
RewriteEngine on
RewriteEngine On
# Remove .php extension from URLs
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php [NC,L]
RewriteRule ^(.+)$ $1.php [L]