Forum Replies Created

Viewing 1 replies (of 1 total)
  • Despite the fact the install says you can put the additional wp-config.php code anywhere in the file, you have to actually put it anywhere before the last two lines of code. Put your custom wp-config.php code before this:

    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');

    I chose to put my code here at the bottom of my wp-config.php:

    /** Enable Multisite features. */
    define ('WP_ALLOW_MULTISITE', true  ) ;
    define( 'MULTISITE', true );
    define( 'VHOST', 'no' );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'mysite.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. */
    require_once(ABSPATH . 'wp-settings.php');

    Took me a few tries to figure this out.

Viewing 1 replies (of 1 total)