warmseal-roofing/.htaccess
2025-05-14 16:15:07 +01:00

6 lines
157 B
ApacheConf

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