Complicated Multisite Move…Advice Really Needed…
-
I’ve had 2 multisite installs humming along for a year or two…hosted via 2 separate accounts with Siteground.com.
The two sites are:
11trees.com
inndii.comI was paying for two separate accounts, so I’ve wanted to consolidate…
I successfully moved inndii.com to 11trees.com/inndii.
Everything works except for the redirects for the domains I own and point to subdomains on inndii.com.
You can see the difference by visiting edunbound.inndii.com (which won’t redirect) and goldenviolins.com, which SHOULD redirect but doesn’t. It should redirect to goldenviolins.inndii.com but appear to users as GoldenViolins.com.
Again, this worked fine for a year+ when Inndii had its own account.
I’ve read that you can’t do “folder installs” for multisite…but I’m not sure this is the same thing…
Again, everything is working just fine except redirects.
When you visit goldenviolins.com or rabbitsfeathersandbone.com you get redirected to the root – inndii.com.
I have these two domains set up via Domain Mapping in the Network Setup, just as I did when inndii.com had its own hosting account.
Here’s my root (public_html/.htaccess) .htaccess (11trees is installed in /live):
RewriteEngine On RewriteCond %{HTTP_HOST} ^edunbound\.com$ [OR] RewriteCond %{HTTP_HOST} ^www\.edunbound\.com$ RewriteRule ^/?$ "http\:\/\/inndii\.com" [R=301,L] RewriteCond %{HTTP_HOST} ^goldenviolins\.com$ [OR] RewriteCond %{HTTP_HOST} ^www\.goldenviolins\.com$ RewriteRule ^/?$ "http\:\/\/inndii\.com\/" [R=301,L] RewriteCond %{HTTP_HOST} ^rabbitsfeathersandbone\.com$ [OR] RewriteCond %{HTTP_HOST} ^www\.rabbitsfeathersandbone\.com$ RewriteRule ^/?$ "http\:\/\/inndii\.com" [R=301,L] RewriteEngine On RewriteCond %{HTTP_HOST} ^11trees.com [NC] RewriteRule ^(.*)$ http://www.11trees.com/$1 [L,R=301] RewriteBase /live/ RewriteRule ^index\.php$ - [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).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L]
Here’s the .htaccess for the inndii directory:
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] 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]
- The topic ‘Complicated Multisite Move…Advice Really Needed…’ is closed to new replies.