Easy Way To Uninstall WordPress Multisite And Convert it To A Single WordPress Site

  • May 1, 2015

WordPress Multisite is a powerful solution for launching several websites off just one WordPress install.

I have been struggling and squeezing my brain for months to find an easy simple way to uninstall WordPress Multisite and converted it into a single WordPress Site. I went into many online tutorials most of them were written 3-5 years ago, very useful information at the time but today they are very outdated.

People who know me, will tell you that I never give up.

Yesterday, I have found what was looking for, the easiest and simplest way to uninstall WordPress Multisite and convert it to a single WordPress site just in 5 minutes and without any hassle thanks to the valuable tutorial of Raelene Wilson posted on February 15, 2015.

Uninstalling Multisite In 5 Easy Steps

1. Backup your site

It is always better to be safe than sorry.
In case you have cPanel, I recommend you to make a complete SQL backups using My PhpAdmin a very usefull tool and download it to your local computer.

sql backup

Also you can download to your local computer a XML backup file of all content using WordPress export tools.

wp-export-tools

2. Edit wp-config.php file

Login to your WordPress site via FTP or cPanel, whichever method you prefer. If you’re using cPanel, go to File Manager to access your site’s files.

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 edit the following line in your wp-config.php file and set it to “false”:

define(‘WP_ALLOW_MULTISITE’, true);

3. Edit .htaccess file

Next, you will need to edit your .htaccess file, which is in the root of your WordPress install. Replace the rules you added to create your Multisite install with the following new rules:

RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index.php$ – [L]
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
RewriteRule . index.php [L]

4. Drop Database Tables

wp-drop-tables

Lastly, you will need to drop the following global tables in your database. phpMyAdmin is probably the easiest software to do this with if you use cPanel, though you can use whatever method you like:

wp_blogs
wp_blog_versions
wp_registration_log
wp_signups
wp_site
wp_sitemeta

The next time you log in to your site Multisite should be gone from your WordPress install.

5. Match Permalinks

Before you start making those changes, make sure to take a snapshot of your Permalinks setting and once you are done, use the same setting.

Enjoy
Michel Noujaim
The post “Easy Way To Uninstall WordPress Multisite And Convert it To A Single WordPress Site” appears in www.BabilooHost.com

4 ways to optimize your web pages to increase conversions

4 ways to optimize your web pages to increase conversions At BoostSuite, I help passionate small business owners and web marketers like you with your digital marketing strategies every day.…
Continue reading

How To Make Homemade Fresh Mozzarella

Knowing how to make your own mozzarella is a dangerous thing. A fun, easy, and above all, tasty dangerous thing. Knowing how to make your own mozzarella is a dangerous…
Continue reading

Five Effective SEO Strategies to Optimize Your Business Blog

So you've started a business blog, providing authoritative insights about the latest news and most pressing issues in your industry. With such great content, your blog should be raising your…
Continue reading

The 20 Most Weight Loss Friendly Foods on The Planet

Not all calories are created equal. Different foods go through different metabolic pathways in the body. They can have vastly different effects on hunger, hormones and how many calories we burn. Here…
Continue reading

10 Illustrations on Search Engines’ Valuation of Links

All Links are Not Created Equal: 10 Illustrations on Search Engines' Valuation of Links In 1997, Google's founders created an algorithmic method to determine importance and popularity based on several…
Continue reading

3 Things You Probably Don’t Know About Google Adwords

I get asked all the time about Google Adwords. For the uninitiated, Adwords are the ads on the top and side of Google when you enter in a search. Entrepreneurs…
Continue reading

The Ancient Tibetan Garlic Cure And Anti-Aging Recipe

The healing properties of garlic were known in many cultures for centuries. It’s  antibacterial, antifungal, antiparasitic, antiprotozoan and antiviral.  The ancient healing systems of Tibet  utilizes garlic and often recommend…
Continue reading

Does Baking Soda Cures Cancer? Be Wary of Simoncini Cancer Therapy

Tullio Simoncini claims that cancer is caused by a fungus and can be cured with the administration of sodium bicarbonate. There is no scientific evidence to support this claim, and…
Continue reading

CEO & founder of CNet Marketing, and is also the founder of a very successful international web hosting company "www.BabilooHost.com" has 14 years of experience in web services industry, a Leading Fully Managed Email Maketing Solutions "www.inteliMails.com" and Online Marketing Agency "www.CNetMarketing.com".

About us

We are dedicated people aiming to deliver important and valuable information and posts gathered from many sources around the web.