Domain Mapping plugin breaks Multi-domain sites

The latest version of Domain Mapping plugin ( causes the following redirect error on sites using the Multi-domain plugin:

The webpage at has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer

Reverting to Domain Mapping plugin version fixes the problem.

WordPress 4.0


iThemes Security 4.4.23

We run both the front and back end under SSL using rewrite rules:

RewriteCond %{HTTP_HOST} ^www.(.*)

RewriteRule (.*) https://%1/$1 [R=301,L]