Multi Site moved to subdomain, now wont stop redirecting

So I’ve posted previously about our attempts to run a multisite with domain mapping to another site:

We’ve been on this problem a bit long and are now exploring other options. We have access now to a subdirectory site that we want to “install” wordpress multisite to so that it can exist in the root of the site.

Currently, our multisite installation exists in a folder on our main site. The new subdirectory we have now is pointing to that directory.

Below is our structure:

Main blog location:


The issue now is that now after having followed directions to transfer things over to a new domain (, the blog main site works ( but any multisite blog under it infinitely loops into itself.

Below are our settings for reference:


<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off

# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]

# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^[_0-9a-zA-Z-]+/(.*.php)$ $1 [L]
RewriteRule . index.php [L]
# END WordPress

<Files wp-login.php>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

<Files wp-signup.php>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Relevant wp-config settings:

$table_prefix  = 'wp_';

define('WPLANG', '');

define('WP_DEBUG', false);
/* used for wordpress-mu-domain-mapping */
define('SUNRISE', 'on'); // Add this line here:

/* Multisite */
define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', false );

define('FORCE_SSL_ADMIN', true);

define( 'UPLOADBLOGSDIR', 'blogs.dir' );