I have the following redirect:
RewriteRule ([^/]*)\/([^/]*) http://ip/~user/codigo.php?nome=$1&numero=$2
To generate the url:
But there are other folders, such as assets / css / main.css and others like /css/name / other.css and these are being redirected to:
Ex: link
How to solve the problem?
I tried something like:
RewriteRule ^assets/(.*)$ http://www.site.com.br/assets/$
Note: There are other folders, in addition to the example assets and some of them have subfolders and some do not exist, ie there is no default.