• Resolved mnatseah624

    (@mnatseah624)


    Hello WP users, I’ve just converted my single site to a multisite, with a bit of help from the Bluehost tech support. Here’s my question.
    All the online articles say the multisite code (define(‘WP_ALLOW_MULTISITE’, true );) should be inserted in wp-config.php just before “That’s all. Stop editing!”
    But the Bluehost tech inserted it right at the very end of wp-config.php, following other “define” lines of code.
    Does it make any difference?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Before require_once https://github.com/WordPress/WordPress/blob/master/wp-config-sample.php#L90 is equvalent
    In this scenario you can understand that bluehost has customized wordpress and may behave differently from the standard wordpress, it means when you have problems contact your hosting because only he can know what he has changed.

    Thread Starter mnatseah624

    (@mnatseah624)

    Many thanks @autotutorial That’s helpful. Bluehost have set it after require_once, at the very end of the file. Like this…

    require_once(ABSPATH . 'wp-settings.php');
    define( 'WP_CRON_LOCK_TIMEOUT', 120   ); 
    define( 'AUTOSAVE_INTERVAL',    300   );
    define( 'WP_POST_REVISIONS',    5     );
    define( 'EMPTY_TRASH_DAYS',     7     );
    define( 'WP_AUTO_UPDATE_CORE',  true  );
    define( 'WP_ALLOW_MULTISITE',   true  );

    WIll that make any difference?

    @mnatseah624 wp-settings.php and wp-config.php are two distinct configurations, in your specific case I can’t tell you if they are correct, I should encode all wordpress to see if the constant ones can exist in wp-settings.php.

    Thread Starter mnatseah624

    (@mnatseah624)

    Many thanks @autotutorial

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Position of multisite code in wp-config’ is closed to new replies.