Title: Domain Mapping
Last modified: August 19, 2016

---

# Domain Mapping

 *  [kimmer01](https://wordpress.org/support/users/kimmer01/)
 * (@kimmer01)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/domain-mapping-9/)
 * I have updated the domain mapping plugi . . . so that I can HOPEFULLY, FINALLY
   fix the login error.
 * I thought this was updated previously . . . but, when I logged in this morning
   it said there was another update.
 * I get this error message when I click on Domain Admin under Super Admin:
 * Please edit your /home/~~~~/domains/****.com/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.
 * Really??? I hate modifying this kind of stuff! Is there another way? Is this 
   something that others have seen and a fix is on the way? Something else?

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/topic/domain-mapping-9/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/domain-mapping-9/page/2/?output_format=md)

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 6 months ago](https://wordpress.org/support/topic/domain-mapping-9/#post-1749808)
 * Modifying your wp-config.php file is … kinda bog standard, and should be something
   you get comforatable with, if you want to run MultiSite (which requires a bit
   more savvy than normal WP). No, there’s no workaround. Just update the file.
 *  Thread Starter [kimmer01](https://wordpress.org/support/users/kimmer01/)
 * (@kimmer01)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/domain-mapping-9/#post-1749879)
 * Thank you for the information.
 * The additional information about what I “should” be . . . unnecessary. FYI, I
   RUN multisite with over 50 blogs – which are all mine. Thanks though.
 *  [brnoyank](https://wordpress.org/support/users/brnoyank/)
 * (@brnoyank)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/domain-mapping-9/#post-1749987)
 * ipstenu is 100% correct. MultiSite isn’t for the casual blogger, editing these
   configuration files is par for the course. Welcome to WordPress Multisite! 🙂
   Best of luck & happy blogging.
 *  Thread Starter [kimmer01](https://wordpress.org/support/users/kimmer01/)
 * (@kimmer01)
 * [15 years ago](https://wordpress.org/support/topic/domain-mapping-9/#post-1750176)
 * So, I FINALLY got around to making this change . . . and you guessed it: the 
   same error continues to show. Ideas?
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years ago](https://wordpress.org/support/topic/domain-mapping-9/#post-1750177)
 * Did you put the define about sunrise in your config file?
 *  Thread Starter [kimmer01](https://wordpress.org/support/users/kimmer01/)
 * (@kimmer01)
 * [15 years ago](https://wordpress.org/support/topic/domain-mapping-9/#post-1750178)
 * I moved it to where the message indicates it should be: move the line define(‘
   SUNRISE’, ‘on’ ); above the last require_once() in that file. I then saved it
   as wp-config.php and uploaded it to the appropriate spot.
 * I have verified that the file it is checking it correct . . . or what I understand
   to be correct. lol.
 *  [brnoyank](https://wordpress.org/support/users/brnoyank/)
 * (@brnoyank)
 * [15 years ago](https://wordpress.org/support/topic/domain-mapping-9/#post-1750179)
 * Kimmer maybe a reinstall is in order. It’s often easier for novices to begin 
   with a clean slate, makes troubleshooting so much easier.
 * And 5 months of fiddling with this, I think I would’ve reinstalled & restored
   after a couple hours. Good luck.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years ago](https://wordpress.org/support/topic/domain-mapping-9/#post-1750180)
 * Sometimes you have to move it higher up, kimmer.
 * Try putting it above the WordPress multisite calls.
 *  Thread Starter [kimmer01](https://wordpress.org/support/users/kimmer01/)
 * (@kimmer01)
 * [15 years ago](https://wordpress.org/support/topic/domain-mapping-9/#post-1750181)
 * [@brnoyank](https://wordpress.org/support/users/brnoyank/) – I haven’t fiddled
   with it at all. This was the FIRST attempt!
 * [@ipstenu](https://wordpress.org/support/users/ipstenu/) – thank you for the 
   suggestion!
 *  Thread Starter [kimmer01](https://wordpress.org/support/users/kimmer01/)
 * (@kimmer01)
 * [15 years ago](https://wordpress.org/support/topic/domain-mapping-9/#post-1750182)
 * [@ipstenu](https://wordpress.org/support/users/ipstenu/)
 * I tried putting it where I though you meant: above, define( “WP_USE_MULTIPLE_DB”,
   false ); (there was no other result for “multi” in my file)
 * Same result.
 * I put it in both places, same result.
 * FYI. I am keeping the original wp-config file in a seperate file and not modifying;
   I do know a little. lol.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years ago](https://wordpress.org/support/topic/domain-mapping-9/#post-1750183)
 * Solid call! 😀
 * You have a section like this?
 *     ```
       /** MultiSite **/
       define('WP_ALLOW_MULTISITE', true);
       define( 'MULTISITE', true );
       define( 'SUBDOMAIN_INSTALL', true );
       $base = '/';
       define( 'DOMAIN_CURRENT_SITE', 'ipstenu.org' );
       define( 'PATH_CURRENT_SITE', '/' );
       define( 'SITE_ID_CURRENT_SITE', 1 );
       define( 'BLOG_ID_CURRENT_SITE', 1 );
       ```
   
 * Put it right at the top there.
 *  Thread Starter [kimmer01](https://wordpress.org/support/users/kimmer01/)
 * (@kimmer01)
 * [15 years ago](https://wordpress.org/support/topic/domain-mapping-9/#post-1750184)
 * The relevant part . . .
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years ago](https://wordpress.org/support/topic/domain-mapping-9/#post-1750185)
 * … I don’t know who moderated that, but if you put up a SMALL portion of your 
   wp-config, it’s better 😉
 * Just tell me IF you have a section like that in yours, and if so, put the `define('
   SUNRISE', 'on' );` just below `/** MultiSite **/`
 * Also make sure you don’t have wild/crazy curly quotes in there.
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years ago](https://wordpress.org/support/topic/domain-mapping-9/#post-1750186)
 * If you’re putting it in there, as long as it’s not at the bottom, it should be
   read just fine. *Unless* it has typos or curly quotes, as Ipstenu says. 😉
 *  Thread Starter [kimmer01](https://wordpress.org/support/users/kimmer01/)
 * (@kimmer01)
 * [15 years ago](https://wordpress.org/support/topic/domain-mapping-9/#post-1750187)
 * Sorry!
 * No change in the error message.
 * The relevant part of the file:
 *     ```
       define('DB_COLLATE', '');
       define('VHOST', 'yes');
       $base = '/';
       //define('DOMAIN_CURRENT_SITE', 'xyz' );
       //define('PATH_CURRENT_SITE', '/' );
       //define('SITE_ID_CURRENT_SITE', 1);
       //define('BLOGID_CURRENT_SITE', '1' );
       define( 'SUNRISE', 'on' );
       ```
   

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/topic/domain-mapping-9/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/domain-mapping-9/page/2/?output_format=md)

The topic ‘Domain Mapping’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 25 replies
 * 4 participants
 * Last reply from: [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/domain-mapping-9/page/2/#post-1750197)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
