Title: Migrating multiple blogs into multisite problem
Last modified: August 19, 2016

---

# Migrating multiple blogs into multisite problem

 *  Resolved [bornfamous](https://wordpress.org/support/users/bornfamous/)
 * (@bornfamous)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/migrating-multiple-blogs-into-multisite-problem/)
 * I followed the instructions for migrating multiple blogs into WP multisite, but
   got stuck when I installed WP Domain Mapping plugin. It gives the following instructions:
 * > Please edit your wp-config.php and move the line _define( ‘SUNRISE’, ‘on’ );_
   > above the last _require\_once()_ in that file or make sure you updated sunrise.
   > php.
 * However the line _define ( ‘SUNRISE’, ‘on’ );_ is already in the config.php file–
   although there is no _require\_once()_ in the file. Sunrise.php is where it belongs,
   but I don’t know how to update it.
 * What should I do?

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

 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/migrating-multiple-blogs-into-multisite-problem/#post-1952010)
 * Were you using a different domain mapping plugin before? 😉
 * One or the other – not both. 😀
 *  Thread Starter [bornfamous](https://wordpress.org/support/users/bornfamous/)
 * (@bornfamous)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/migrating-multiple-blogs-into-multisite-problem/#post-1952079)
 * Thanks Andrea, no we haven’t used any other domain mapping plugin.
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/migrating-multiple-blogs-into-multisite-problem/#post-1952088)
 * > Sunrise.php is where it belongs, but I don’t know how to update it.
 * If there was one there, that’s why I asked. If it was the one that came with 
   the domain mapping plugin, you’re good to go.
 * Domain mapping is the only thing I know of that uses it. It doesn’t come in a
   default install.
 *  Thread Starter [bornfamous](https://wordpress.org/support/users/bornfamous/)
 * (@bornfamous)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/migrating-multiple-blogs-into-multisite-problem/#post-1952101)
 * The trouble is that I came into this after my client had already installed WP
   Multisite, so I’m not exactly sure what was there other than what she tells me.
   I installed WP Domain Mapping plugin, but I don’t know if sunrise.php was there
   already or not. I assume not, from what you say.
 * But I can’t configure the domains, that’s the problem. I just get the message:
 * > Please edit your wp-config.php and move the line define( ‘SUNRISE’, ‘on’ );
   > above the last require_once() in that file or make sure you updated sunrise.
   > php.
 * And, like I said… that line is there, although there is no “require_once()” in
   wp-config.php.
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/migrating-multiple-blogs-into-multisite-problem/#post-1952102)
 * Look at the sunrise.php that she has.
    Compare it to the one in the plugin.
 *  Thread Starter [bornfamous](https://wordpress.org/support/users/bornfamous/)
 * (@bornfamous)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/migrating-multiple-blogs-into-multisite-problem/#post-1952104)
 * That was it! It was missing this code:
 *     ```
       if ( !defined( 'SUNRISE_LOADED' ) )
       	define( 'SUNRISE_LOADED', 1 );
       ```
   
 * Thank you!!!!

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

The topic ‘Migrating multiple blogs into multisite problem’ is closed to new replies.

## Tags

 * [multisite](https://wordpress.org/support/topic-tag/multisite/)
 * [Sunrise.php](https://wordpress.org/support/topic-tag/sunrise-php/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 6 replies
 * 2 participants
 * Last reply from: [bornfamous](https://wordpress.org/support/users/bornfamous/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/migrating-multiple-blogs-into-multisite-problem/#post-1952104)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
