helllo i need to exclude some subdomqins qnd folders from my MU instalation the big problem is that i cant find the rewrite con. for the www on my .htaccess so i am stuck some folks told me i need to
" add the following setting accordingly after www rewrite rule.
RewriteCond %{HTTP_HOST} subdomain.maindomain.com
RewriteCond %{REQUEST_URI} !subdomain/
RewriteRule ^(.*)$ subdomain/$1 [L]
where your folder path:
public_html/subdomain/
"
here how my file looks like now
"RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} video.chachia.net
RewriteCond %{REQUEST_URI} !video/
RewriteRule ^(.*)$ video/$1 [L]
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
# add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ $1/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
"
please tell me what is wrong