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