From ef560d39c961c791007ddf5d170a02ada358cfdb Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Sun, 8 Dec 2019 16:16:28 -0500 Subject: [PATCH] rewriting file extensions --- src/.htaccess | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/.htaccess b/src/.htaccess index 850a961..6b7d4d7 100644 --- a/src/.htaccess +++ b/src/.htaccess @@ -1 +1,5 @@ +RewriteEngine on +RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond %{REQUEST_FILENAME}\.php -f +RewriteRule ^(.*)$ $1.php [NC,L] ErrorDocument 404 /404.php \ No newline at end of file