WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Domain Mapping
[resolved] Domain mapping doesn't work: Please uncomment the line de (5 posts)

  1. boinker
    Member
    Posted 2 years ago #

    Hi all.

    In Settings/Domain Mapping I can see:

    Please uncomment the line define( 'SUNRISE', 'on' ); or add it to your /var/www/thinkin/wp-config.php

    But I've this in wp-config.php:

    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'www.thinkincoaching.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    /* That's all, stop editing! Happy blogging. */

    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__) . '/');

    /** Sets up WordPress vars and included files. */
    define( ‘SUNRISE’, ‘on’ );
    require_once(ABSPATH . 'wp-settings.php');

    Any idea what's happening?

    Thanks in advance.

    http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

  3. boinker
    Member
    Posted 2 years ago #

    Hi Ron.

    I'm reading that manual, but I can't find my error :-(

    I think the:

    /** Sets up WordPress vars and included files. */

    comment is right reading that manual.

  4. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    /* That's all, stop editing! Happy blogging. */

    That line is there to tell you to not edit below it. Secondly, if I were to guess, I'd say you are editing the wrong file or when you try to upload it, the upload fails.

  5. boinker
    Member
    Posted 2 years ago #

    Thank you Ron, I've found the error! :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic