From 4e2db32dfc5530a518403cc06e0274f15d04b8d8 Mon Sep 17 00:00:00 2001 From: Lyanis Souidi Date: Sun, 15 Jan 2023 15:30:49 +0100 Subject: [PATCH] =?UTF-8?q?R=C3=A9organisation=20des=20fichiers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .htaccess | 4 ++++ about/index.php => about.php | 30 ++++++++++++------------ contact/index.php => contact.php | 30 ++++++++++++------------ faq/index.php => faq.php | 40 ++++++++++++++++---------------- product/index.php => product.php | 38 +++++++++++++++--------------- 5 files changed, 73 insertions(+), 69 deletions(-) rename about/index.php => about.php (80%) rename contact/index.php => contact.php (64%) rename faq/index.php => faq.php (71%) rename product/index.php => product.php (55%) diff --git a/.htaccess b/.htaccess index ed19066..5e8baa6 100644 --- a/.htaccess +++ b/.htaccess @@ -1 +1,5 @@ RedirectMatch 404 /\.git + +RewriteEngine On +RewriteCond %{REQUEST_FILENAME} !-f +RewriteRule ^([^\.]+)$ $1.php [NC,L] \ No newline at end of file diff --git a/about/index.php b/about.php similarity index 80% rename from about/index.php rename to about.php index efeeefc..d3f3956 100644 --- a/about/index.php +++ b/about.php @@ -4,19 +4,19 @@ Elite Solar - - - - - + + + + +

Elite Solar

- Menu + Menu