mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-07-12 08:47:33 +00:00
Update Simple URLs
parent
df97ba15bf
commit
d6e59b5790
@ -22,9 +22,8 @@ RewriteEngine On
|
|||||||
RewriteCond %{REQUEST_FILENAME} -f [OR]
|
RewriteCond %{REQUEST_FILENAME} -f [OR]
|
||||||
RewriteCond %{REQUEST_FILENAME} -l [OR]
|
RewriteCond %{REQUEST_FILENAME} -l [OR]
|
||||||
RewriteCond %{REQUEST_FILENAME} -d
|
RewriteCond %{REQUEST_FILENAME} -d
|
||||||
RewriteRule ^.*$ - [NC,L]
|
RewriteRule ^inc/(.*) - [NC,L]
|
||||||
RewriteRule ^(inc) - [NC,L]
|
RewriteRule ^(.*) "index.php?a=$1" [QSA,L]
|
||||||
RewriteRule ^.*$ index.php [NC,L]
|
|
||||||
```
|
```
|
||||||
|
|
||||||
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