Options -Indexes
RewriteEngine On
<FilesMatch "^(config(\.example)?\.php|error_log|.*\.sql|.*\.md|\.gitignore)$">
  Require all denied
</FilesMatch>
RewriteRule ^t/([A-Za-z0-9_-]+)$ index.php?r=go&slug=$1 [QSA,L]
RewriteRule ^qr/([A-Za-z0-9_-]+)\.svg$ index.php?r=qr&slug=$1 [QSA,L]
RewriteRule ^([A-Za-z][A-Za-z0-9_-]{2,49})/?$ index.php?r=client_portal&slug=$1 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]
