Answer the question
In order to leave comments, you need to log in
How to add an exception to .htaccess?
Hello!
There is htaccess:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?url=$1 [L,QSA]
</IfModule>
Answer the question
In order to leave comments, you need to log in
RewriteCond %{REQUEST_URI} !^files/$
RewriteRule ^(.*)$ index.php?url=$1 [L,QSA]
RewriteCond %{REQUEST_URI} !^images/$
RewriteRule ^(.*)$ index.php?url=$1 [L,QSA]
RewriteCond %{REQUEST_URI} !^(images|files|upload|test)/$
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question