Hi,

I would like to exclude three directories (folders) from WP .htaccess. I've installed WP in folder /sample, so I have two .htaccess files - one in root and one in folder "sample". Now I want to exclude three folders from rewriting urls (folder1, folder2, folder3).

.htaccess in root:
Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
.htaccess in folder "sample":
Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /sample/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /sample/index.php [L]
</IfModule>
# END WordPress
Thanks in advance for any help... I tried like three different ways that I found on internet, but nothing worked. Most probably because I don't know what to write in second .htaccess file (which is in it's own folder).