diff --git a/Simple-URLs.md b/Simple-URLs.md index 9b9644c..813f513 100644 --- a/Simple-URLs.md +++ b/Simple-URLs.md @@ -22,9 +22,8 @@ RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d -RewriteRule ^.*$ - [NC,L] -RewriteRule ^(inc) - [NC,L] -RewriteRule ^.*$ index.php [NC,L] +RewriteRule ^inc/(.*) - [NC,L] +RewriteRule ^(.*) "index.php?a=$1" [QSA,L] ``` Visit `/bans/` (e.g. "example.com/punishments/bans/") and check if it works as expected. \ No newline at end of file