Title: Corrupted Multi-Site?
Last modified: August 31, 2016

---

# Corrupted Multi-Site?

 *  [squeaky](https://wordpress.org/support/users/squeaky/)
 * (@squeaky)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/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.com
 * I 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?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [jkhongusc](https://wordpress.org/support/users/jkhongusc/)
 * (@jkhongusc)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/corrupted-multi-site/#post-7248648)
 * Looking at your wp-config.php info… it was configured as a WP multisite
 * > If I did not know better, it looks like they had a mutli-site and then tried
   to go back to a single site.
 * This statement is not true, given your wp-config.php info.
 * Ignore the Rewrite rules for now. They arent important at this point
 * What have you done so far? Have you moved WP directory/files or database over?
   Did you modify anything?
 * If you can still access the original site, the Network url looks like this –
   
   [http://domain.com/wp-admin/network/](http://domain.com/wp-admin/network/) In
   there, you will see Settings -> Network Settings that are multisite specific.
 * I have copied multisite before and move it to a new domain. The complexity depends
   on the sub-sites configuration.
 *  [jkhongusc](https://wordpress.org/support/users/jkhongusc/)
 * (@jkhongusc)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/corrupted-multi-site/#post-7248649)
 * When I changed domain name of my multsite domain, I did two things:
    1) modify
   wp-config.php for the new domain 2) database: I exported the database, did a 
   global search and replace, then imported the data to a new instance
 * Note that #2 is risky and could corrupt any serialized data. Luckily I didnt 
   hit that problem but it is a possibility.
 * It was an easy process for me and only took a few minutes… but I am well versed
   with WP multisite.
 *  [lraet](https://wordpress.org/support/users/lraet/)
 * (@lraet)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/corrupted-multi-site/#post-7248762)
 * Hi, okay this was about the closest to my issue I am having on muti site set 
   up but my issue is as I watch the training video following along we go into file
   mgr and under public_html there should a large amount of files on right hand 
   side well there were on his screen but when I am on public_html on the right-
   hand side it shows only 5 files and his shows many file so then we are to find
   a file ‘wp.config.php’ well I do not have such file but one of the 5 files that
   i do have showing there at the right is my domain website name so I clicked on
   it and found a wp.config.php file so I went along and put a code in on the html
   page just as he did exactly the same way went back to my dashboard and whenI 
   click on tools it takes me to an error page so I went back to file mgr and took
   that code out and it works fine now but no multi site set up took place and that
   is what I want to do so got any suggestions I am very new to all this so it is
   not always easy for me to understand all this jargon lol I already installed 
   wp thru quick install long time back and have been building my site with no problems
   just am clueless where my wp files are??
    Any help would be greatly appreciated!!!
   Lana 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Corrupted Multi-Site?’ is closed to new replies.

## Tags

 * [corrupt](https://wordpress.org/support/topic-tag/corrupt/)
 * [multi-site](https://wordpress.org/support/topic-tag/multi-site/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 3 replies
 * 3 participants
 * Last reply from: [lraet](https://wordpress.org/support/users/lraet/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/corrupted-multi-site/#post-7248762)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
