The hosting company I’m with has completely destroyed my .htaccess file about a month ago and while I managed to make most of it work again, I do not know how to add two exceptions to WordPress’ wildcard subdomains (I use WordPress multisite). The hosting company is refusing to help me and, as a plain old web designer, I am not that good with rewrite rules and the server stuff and I never was.
This is the file – where do I add exceptions for approved.iva-is.me and love.iva-is.me?
<Files .htaccess>
order allow,deny
deny from all
</Files>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*.php)$ $1 [L]
RewriteRule . index.php [L]
Insert this rule just below
RewriteBase /
line: