Exclude folder from htaccess

.htaccess

Solution

You could also put a new .htaccess file in the folder you want to ignore, saying:

RewriteEngine Off

Problem

I have a site which uses htaccess in order to use nice URLs. However I want the htaccess file to leave alone a whole folder and it's content completely. The content of my htaccess file is: ``` RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 ``` How should I complete the above code to EXCLUDE completely the folder named "admin" Many thanks in advance!

Original source

Related problems