I have what I thought was a fairly simple install. GoDaddy support basically said "We don't want to touch it, hire someone".
I have two Wordpress multi-sites installed on CPanel.
Does anyone know if this a supported configuration? OR can only one Wordpress site on cPanel be multi-site?
More detail:
I setup two WP Multisites. It seems like the second Wordpress subsite never gets the GET request for any of the subdomains; the first site seems to get all additional virtual domains.
Let's temporarily assume both Multisite websites are setup correctly. (ha!)
Example:
A.com ('parent' site, multisite enabled) IP: 1.2.3.4
- someothersite.org (subsite, edited URL)
- deleted.org (subsite, edited URL, now actually deleted)
B.com ('parent' site, multisite enabled) IP: 1.2.3.4
- AThirdsite.org
If I hit AThirdSite.org, I get a 404 from deleted.org - which was, indeed, deleted and doesn't exist in A.org's multisite install, nor is it mentioned in .htaccess
Under the cPanel "Add on domains" B.com is setup as an add-on domain, but not "AThirdsite.org" nor "someothersite.org" nor deleted.org
This implies I have to mix up clients B.com and A.com, which I don't want to do (there's a WooCommerce site involved).
In other words, I'm not sure that two multi-site installs under the same IP are supported, but I'm not sure why not.
My dirty little secret:
A.com originally had a Multisite install, but I deleted it, and recreated as A.com (can't seem to change this) and now only has one sub site. I can't even log into A.com anymore, as it keeps trying to redirect to deleted.org and thus login fails. deleted.org was never the top level site.
So, two questions:
- Is this supported? Two separate Wordpress Multi-site installs on the same IP address
- If it is supported, why are subdomains associated for a deleted site showing up in a redirect?
Contents of .htaccess for A.org:
# Block the include-only files.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^wp-admin/includes/ - [F,L]
RewriteRule !^wp-includes/ - [S=3]
RewriteRule ^wp-includes/[^/]+\.php$ - [F,L]
RewriteRule ^wp-includes/js/tinymce/langs/.+\.php - [F,L]
RewriteRule ^wp-includes/theme-compat/ - [F,L]
</IfModule>
# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
I'm about to cancel my entire hosting account, buying a $319 plugin that can backup and migrate multisite, and paying for a new hosting cPanel account.
Please save me :)