Connect with us

How to Remove Multisite/Network Feature from WordPress website

coding

How to Remove Multisite/Network Feature from WordPress website

Generally people are looking to create network feature in WordPress instructions. I had one blog with multisite feature and recently I moved it to single site form multisite. Remove multisite feature, remove network feature of WordPress is easy with this article.

If you want to remove multisite feature, remove Network feature of WordPress than here are easy steps to get it done.

Note: Most Important is take a backup of your files and Database. All recommend this but I am not. Because I am sure once you follow below steps properly, it will work surely. If you dont have confidence on yourself than take a backup. 🙂
 
1. Open wp-config.php from your root directory.
Remove below code.
 
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 );
 
2. Delete your .htaccess from root directory and visit wp-admin/options-permalink.php. 
Don't worry. It will be auto generated once you visit above page.
 
3. Remove Extra fields from wp_user table and extra tables. Simple execute below sql query.
 
ALTER TABLE `wp_users` DROP `spam`, DROP `deleted`;
DROP TABLE
    `wp_blogs`,
    `wp_blog_versions`,
    `wp_registration_log`,
    `wp_signups`,
    `wp_site`,
    `wp_sitemeta`;
 
If you can find this table `wp_sitecategories` than DROP it.
 
4. Most Important. Put define('MULTISITE', false); line in wp-config.php file.
 
5. Yuppi! You are now in default single site WordPress Installation.

You may get below errors if you did not follow steps properly. If you get one of the below error, please make sure you follow steps correctly. Comment below if you need any help.

1. Error establishing a database connection WordPress
2. No site defined on this host. If you are the owner of this site, please check Debugging a WordPress Network for help.

READ  [Problem Solved] WordPress Asking for FTP details while Installing Plugins

Tags: Remove Multisite Feature WordPress, Remove Network Feature WordPress, Remove Multisite WordPress, Subdomain to Main Domain WordPress, Network Disable WordPress, How to Disable Network WordPress, Disable Multisite WordPress.

No votes yet.
Please wait...
Continue Reading
You may also like...

We are a WordPress plugin developer company that focuses on useful WordPress plugin creation and empowering people to earn passive incomes from their blogs. We build unique and groundbreaking plugins that will revolutionize your blog!

Click to comment

Leave a Reply

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

More in coding

Sign up for our newsletter and get a free affiliate e-book!


About Me:

Szabi Kisded

Hi, my name is Szabi and I'm documenting my journey selling plugins on CodeCanyon. I will show you every step of it: learning to code, plugin ideas, WordPress stuff and more. Read more…

Mega Plugin Bundle:

CodeCanyon Portfolio:

Learn to Code Plugins:

Latest Promotions:

Recommended Theme:

Start Your Own Blog:

Recommended VPN:

Translate Your Blog:

AdSense Alternative:

Best Article Spinner:

Popular Posts:

Latest Posts:

To Top

Privacy Preference Center

      Necessary

      Advertising

      Analytics

      Other