From a8dcef099a3790b43397d82c72eff5f57c6da1e5 Mon Sep 17 00:00:00 2001 From: bochard Date: Fri, 25 Apr 2025 19:04:40 +0800 Subject: [PATCH] added .htaccess --- .htaccess | 3 +++ 404.php | 26 -------------------------- includes/nav.php | 2 +- 3 files changed, 4 insertions(+), 27 deletions(-) create mode 100644 .htaccess delete mode 100755 404.php diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..dc509fa --- /dev/null +++ b/.htaccess @@ -0,0 +1,3 @@ +RewriteEngine On +RewriteCond %{HTTP_HOST} ^www\.tenkyuu\.dev [NC] +RewriteRule ^(.*)$ http://tenkyuu.dev/$1 [R=301,L] \ No newline at end of file diff --git a/404.php b/404.php deleted file mode 100755 index 7d16889..0000000 --- a/404.php +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - page doesn't exist!! - - - - - - - - -
-

There's no such link like that on my site. are you looking for easter eggs?!

- -
- - - - - - \ No newline at end of file diff --git a/includes/nav.php b/includes/nav.php index 1dc805f..922481e 100644 --- a/includes/nav.php +++ b/includes/nav.php @@ -1,5 +1,5 @@