Specific redirect .htaccess

0

I have the following in .htaccess:

RewriteRule ^(.*)/(.*)$ /nota.php?aluno=$2 [L]

and the following files:

  

An index.php page

     

A nota.php page

When you access the student's note, redirect to: www.site.com.br/aluno/nota /

It happens that in index.php the JS, CSS and other files work perfectly because it does not trigger redirection.

Already within note.php (Url mounted)

The JS, CSS etc files (path /css/css.css) are redirected. www.site.com.br/nota/css.css

Is there any way I can not do this redirect using .htaccess?

    
asked by anonymous 09.05.2018 / 21:13

0 answers