How to remove WordPress Multisite?

Mar 02

This one of my first post on WordPress Multisite, however I been using WP for a few years and I love it. Today I will go over a How to remove Multisite setup on WordPress.


  1. Backup your database.
  2. Please make sure your backup is completed and correct, maybe just install another temp DB and test it. (it doesn’t hurt to double check)
  3. Using your FTP application transfer the following files to a safe location
    1. [WordPress Root Folder]/wp-content/blogs.dir
    2. [WordPress Root Folder]/.htaccess file
    3. [WordPress Root Folder]/wp-config.php
  4. Go to your WordPress Network Dashboard
  5. Deactivate any plug in that it’s only for network setups (like domain mappings..)
  6. Deactivate any cache plug in for now
  7. Delete all the sub sites, basically only leave the main one
  8. Go to the main site Dashboard, Settings, Permalinks and set it to default (important for the .httaccess file)
  9. Go to your DB with MyPHPAdmin or any other application you might use and delete the following tables
    1. wp_blogs
    2. wp_blog_versions
    3. wp_registration_log
    4. wp_site
    5. wp_sitemeta
    6. wp_signups
    7. wp_sitecategories (if you have global terms enabled)
  10. You can always try the following SQL Statement in your Query tab in MyPHPAdmin
    1. DROP TABLE wp_blogs, wp_blog_versions, wp_registration_log, wp_site,wp_sitemeta,wp_signups;
    2. Remember to add wp_sitecategories to the statements,if you need to delete it.
  11. Now refresh your screen to make sure all the tables are no longer there
  12. Now open wp-config.php on you text editor ( I use Notepad ++)
    1. You can delete the following lines, but I prefer to comment them out
      1. define( ‘MULTISITE’, false );
      2. define( ‘SUBDOMAIN_INSTALL’, false );
      3. $base = ‘/’;
      4. define(‘DOMAIN_CURRENT_SITE’, ‘’ );
      5. define(‘PATH_CURRENT_SITE’, ‘/’ );
      6. define(‘SITE_ID_CURRENT_SITE’, 1);
      7. define(‘BLOGID_CURRENT_SITE’, 1 );
  13. Now if you had any additional lines you modified on the wp-config.php, for the multisite please comment those one as well.
  14. Good sample is like  “define(‘SUNRISE’,’on’);” or any addon for multi map domain
  15. You can always delete your blogs.dir folder on your [root folder]/wp-content/ (remember to backup first)
  16. Delete the htaccees file as well (assuming you have a back up)
  17. End!

You should now have a single WordPress installation with your main site. Go ahead and test it and if everything looks good remember to go back to your Dashboard>Settings>Permalinks and select the pretty url you might like.

Happy blogging!!!

Leave a Reply

Your email address will not be published. Required fields are marked *