Sorry for the bad title name… The problem is that I am using the standard rewrite like:
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
But it also rewrites paths to all html included files like jquery, css and etc… So, when i try to reach domain.com/templates/js/jquery.min.js – my php script throws exeption because it does not find the desired parameter. I also tried to add [a-z] but it didn’t help.
Try the following: