I have a plesk server and its configured to launch Roundcube on webmail.domain.com . Also I configured my wordpress as a multisite to react as with anysubdomain.domain.com but it stops the webmail subdomain to work. How do I exclude that subdomain (webmail) from been catched by wordpress ?

this is my .htaccess

RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [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]

Thanks

Read more here: exclude subdomains from .htaccess for wordpress multisite


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: