Corrupted Multi-Site?
-
I have a situation, I have been tasked with making a copy of an existing wordpress site and moving it into a sub-domain on their host.
Assuming (you would think at my age I would know better) it would be a simple wordpress install, I did not think much about it. Until I made the move.
I’ve learned a valuable lesson, ask if it’s a single wordpress or multi-site (or something in between) wordpress. (lesson #1)
Something tells me there will be more before I am done.Ok, so it looks like I have a Multi-site on my hands. I’ve never worked with a WP Multisite.
It looks like it may be corrupted. I say corrupted because it seems that certain links in the admin do not exist.
If I did not know better, it looks like they had a mutli-site and then tried to go back to a single site.
I started looking at YouTube videos about how to setup a multi-site wordpress, and noticed that certain pieces are missing.
For example under tools. there are no network links to setup & settings.The .htaccess file is that of a single wordpress install, and then some crazy
rewrite conditions that are beyond me:RewriteCond %{HTTP_REFERER} !^http://*.mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://*.mydomain.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://blog.mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://blog.mydomain.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://mydomain.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://sample.mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://sample.mydomain.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.*.mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.*.mydomain.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.blog.mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.blog.mydomain.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mydomain.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.sample.mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.sample.mydomain.com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ – [F,NC]and in the config file we have this:
define(‘WP_ALLOW_MULTISITE’, true);
define(‘BP_ENABLE_MULTIBLOG’, true);
define(‘DEFAULT_PROMO_POINT’, 1);
define(‘ENABLE_FREE_CREDIT_FOR_NEW_USERS’, true);
define(‘FREE_CREDIT_AMOUNT’, 50);
define(‘WP_DEBUG’, false);
define( ‘MULTISITE’, true );
define( ‘SUBDOMAIN_INSTALL’, true );
$base = ‘/’;
define( ‘DOMAIN_CURRENT_SITE’, ‘mydomain.com’ );
define( ‘PATH_CURRENT_SITE’, ‘/’ );
define( ‘SITE_ID_CURRENT_SITE’, 1 );
define( ‘BLOG_ID_CURRENT_SITE’, 1 );So the goal here is to take the wordpress install and move it into a
subdomain support.mydoamin.comI have a huge pile here. Is it possible to fix this? And if so how would one begin to do that?
Is it possible to have a mutli-site setup on a subdomain, if the multi-site is using subdomains?
AND I am assuming if that main site is this broken, then trying to take a copy of it into a subdomain and trying to make it work there will be impossible in this condition.
Or am I totally off base?
help?
The topic ‘Corrupted Multi-Site?’ is closed to new replies.