We often make mistakes. And the choice to use a WordPress multisite network instead of a single website can be part of it. We showed you how to install a multisite network, but what if you want to go back?
The solution is not to delete everything, because you will obviously lose everything.
In this tutorial, I will show you how to uninstall a multisite network in order to return to an installation " uni-Site ».
But before, if you have never installed WordPress discover How to install a WordPress blog in 7 steps et How to search, install and activate a WordPress theme on your blog.
Then, back to why we are here.
Step one: Save your blog
If the process is not followed correctly, then your website may be completely unusable (" broken ”as we say in our jargon). So you need to take precautions and make a backup of your WordPress installation. We have for the occasion, written several tutorials which will be of great use to you.
- 8 WordPress plugins to save your blog
- How to backup your blog with the plugin BackupWordPress
- How to backup a WordPress database
- 7 plugins to save your WordPress blog: Advantages & Disadvantages
Step two: Edit the wp-config.php file
Connect to your WordPress website via a FTP client or cPanel, whichever method you prefer. If you are using the cPanel, search for the " File manager To access the files on your website.
Open your wp-config.php file and delete the following code:
Define ('MULTISITE', true); Define ('SUBDOMAIN_INSTALL', false); $ Base = '/ wordpress /'; Define ('DOMAIN_CURRENT_SITE', 'localhost'); Define ('PATH_CURRENT_SITE', '/ wordpress /'); Define ('SITE_ID_CURRENT_SITE', 1); Define ('BLOG_ID_CURRENT_SITE', 1);
You will also need to modify the following line in your wp-config.php file by changing the value "True" for "false" :
define ( 'WP_ALLOW_MULTISITE', true);
Step Three: Edit the .htaccess File
Next, you'll need to modify your .htaccess file, which is at the root of your WordPress installation. Replace the rules you added to create your Multisite network with the following rules:
RewriteEngine On RewriteBase / wordpress / RewriteRule ^ index.php $ - [L] # uploaded files RewriteRule ^ ([_ 0-9a-zA-Z -] + /)? Files /(.+) wp-includes / ms-files. (2-0a-zA-Z -] + /)? Wp-admin $ 9wp-admin / [R = 1, L] RewriteCond% {REQUEST_FILENAME} -f [OR] RewriteCond% {REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^ ([_ 301-0a-zA-Z -] + () $ 9 [L] RewriteRule. () $ 2 [L] RewriteRule ^ ([_ 0-9a-zA-Z -] + /) Index.php [L]
Step Four: Delete the following tables in the database
Finally, you will need to delete the following global tables in your database. phpMyAdmin is probably the easiest software that will help you do it from your cPanel, but you can use the method you prefer:
- wp_blogs
- wp_blog_versions
- wp_registration_log
- wp_signups
- wp_site
- wp_sitemeta
The next time you log in to your website, you will notice that it has now become a one-time installation.
Discover also some premium WordPress plugins
You can use other WordPress plugins to give a modern appearance and to optimize the handling of your blog or website.
We offer you here some premium WordPress plugins that will help you do that.
1. Five-Star Ratings & Reviews
From blog comments to e-Commerce websites, the WordPress Plugin premium Five-Star Ratings & Reviews allows users to rate and review any type of content.
It offers as functionalities: the evaluation of users according to the IP address, perfect integration with e-Commerce websites, post custom type support and much more.
Download | Demo | Web hosting
2. White Label Branding for WordPress Multisite
White Label Branding is a WordPress Plugin premium which controls the image of a main website and all the subtitles in a network of websites.
With this plugin, it is possible for you to create a branding template and the personalization menu that all sub-websites in the network will use. Or you can allow each sub-website in the network to have their own branding and customize their menus.
Read our article on Bloggers: The simple guide to re-tweet suitably and improve the image of your brand
You will also be able to have full control over all user roles and capabilities.
Download | Demo | Web hosting
3. eForm
eForm is a flexible form builder that can be integrated into your website. It is a comprehensive form management tool perfect for your quizzes, surveys, data collections, quotes, and user feedback.
Thanks to its quick and easy to use drag'n'drop form builder, you will be able to design an unlimited number of forms and manage them from your dashboard.
Discover our article on 10 WordPress plugins to create events on your blog
All requests are stored in its database and you will be able to view, track, analyze and use the recovered data. A portal also allows registered users to review and track their requests.
Download | Demo | Web hosting
Recommended Resources
Find out about other recommended resources to help you build and manage your website.
- 9 WordPress plugins to add a mega menu to your website
- 8 WordPress plugins to add price charts to your blog
- 6 WordPress plugins to create custom backgrounds
- 5 WooCommerce plugins to edit your products in bulk
Conclusion
Here ! That's it for this tutorial. Hope it will allow you to uninstall WordPress multisite network. Do not hesitate to share with your friends on your favorite social networks.
However, you can also consult our resources, if you need more elements to carry out your projects of creation of Internet sites, by consulting our guide on WordPress blog creation.
If you have suggestions or remarks, leave them in our section Comments.
...
Thank you for your article. I haven't tried it yet but the third step is extremely confusing: where does an instruction start and where does it end; what is an instruction and what is a code?
Guy,
Thanks for your article because it solved my problem.
But I would like to leave comments… These redirectors are very annoying….
as soon as I leave the page, something appears… leave your page cleaner…