Added RewriteCond for excluding subdomains from non-www to www redirects. Temporarily commented out due to (non-www) domain having to be explicitly set in the htaccess file (making the htaccess file unsuitable for multi-site use).