mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-07-12 00:37:31 +00:00
Update Simple URLs
parent
592afdba4f
commit
40cca7693b
@ -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.
|
||||
Visit `/bans/` (e.g. "example.com/punishments/bans/") and check if it works as expected.
|
Loading…
x
Reference in New Issue
Block a user