I'm trying to redirect anything to my index.php file to do myself the redirection.
If i use this:
#RewriteRule ^(.+)$ index.php?path=$1%{QUERY_STRING} [L]
but that's not working because it is "looping" on the rule.
This works :
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?path=$1 [QSA,L]
</IfModule>
but i want to redirect it even if it is an existing file or directory (i thing i will make specials routes for image, js and so on to redirect on them with php without loading any script.
In fact, if there were a "no-loop" flag, that would be fine.
Anybody knows the solution ?
Thanks