From 40cca7693b2dfb00a6270caa14d020b8727f69c6 Mon Sep 17 00:00:00 2001 From: Ruan <2369127-ruany@users.noreply.gitlab.com> Date: Tue, 8 Sep 2020 02:58:06 +0000 Subject: [PATCH] Update Simple URLs --- Simple-URLs.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Simple-URLs.md b/Simple-URLs.md index 9788d25..5162097 100644 --- a/Simple-URLs.md +++ b/Simple-URLs.md @@ -13,9 +13,7 @@ In nginx.conf: Note: Untested -1) Create a file named `.htaccess` in the same folder as `index.php` - -2) Paste this into `.htaccess`: +Create a file named `.htaccess` in the same folder as `index.php` with the following contents: ``` RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] @@ -26,4 +24,4 @@ RewriteRule ^(inc) - [NC,L] RewriteRule ^.*$ index.php [NC,L] ``` -3) Visit `/bans/` (e.g. "example.com/punishments/bans/") and check if it works as expected. \ No newline at end of file +Visit `/bans/` (e.g. "example.com/punishments/bans/") and check if it works as expected. \ No newline at end of file