I have the login folder of my site www.meusite.com.br/login
and that. after login. goes to www.meusite.com.br/painel
. The issue is that I need to apply a rule to login and another rule for the panel, but one subscribes to the other:
RewriteEngine On
Options All -Indexes
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ login.php?lg=$1
RewriteRule ^(.*)$ painel.php?url=$1