WordPress.org

Ready to get started?Download WordPress

Forums

How to undo multisite (5 posts)

  1. sue4ub@btinternet.com
    Member
    Posted 2 years ago #

    Hi there
    Anybody know how to undo multisite as I no longer want it set up as multisite and have to log in to network admin to put in pluggins as some of them do not support multisites.
    any help would be appreciated

  2. 2DMonkey
    Member
    Posted 2 years ago #

    Open wp-config.php at the root of your WordPress directory and remove the following:

    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'localhost' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    Finally, change:

    define('WP_ALLOW_MULTISITE', true);

    To:

    define('WP_ALLOW_MULTISITE', false);
  3. See also http://wpmututorials.com/how-to/how-to-disable-multisite/

    You can delete some tables

  4. frenchieny
    Member
    Posted 1 year ago #

    So the following tables should be deleted? On the linked page it says "drop" & I got confused...

    "Drop these global tables in the database: wp_blogs / wp_blog_versions / wp_registration_log / wp_signups / wp_site
    wp_sitemeta"

    As noted above, I got rid of my secondary blog content, I then deleted the blogs.dir directory, then did the PHP changes as above, then cleared my .htaccess file, & my network is no longer visible. I then redid my permalinks to reset the .htaccess file.

    I'd like to do the cleanup as well. I've had to delete the network as my shared server at OVH does not fully support it. The help on these boards has been fantastic!!

  5. frenchieny - Yes, to 'drop' a table is to delete it.

    In your case, you'd also drop the wp_2_* tables.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags