SUNRISE.PHP No Content in File & Not in wp-config.php

I have an error message that I noticed in my Multi-Domain Settings after a test domain did not add properly. It says to copy the contents of sunrise.php in the wp-content file location and uncomment wp-config. Well, sunrise.php shows in the wp-content file location, BUT there is nothing in it, and there is not any reference to SUNRISE in the wp-config file. I need help understanding how to fix this so multisite function will work properly. Thanks

  • Sajid
    • DEV MAN’s Sidekick

    Hello Scott,

    Hope you are doing good today :slight_smile:

    Do not copy the content of sunrise.php file in wp-config.php file. Just add the following code in wp-config.php file before the line that says /* That’s all, stop editing! Happy blogging. */

    define( 'SUNRISE', 'on' );

    Now copy the sunrise.php file from /wp-content/plugins/multi-domains/ and paste in wp-content folder.

    Hope that helps! Feel free to post a reply if you need further assistance :slight_smile:

    Best Regards,


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.