Support » Networking WordPress » How to undo multisite

  • 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

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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);
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    See also http://wpmututorials.com/how-to/how-to-disable-multisite/

    You can delete some tables

    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!!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    frenchieny – Yes, to ‘drop’ a table is to delete it.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to undo multisite’ is closed to new replies.