http://premium.wpmudev.org/blog/how-to-uninstall-wordpress-multisite/
WordPress Multisite is a powerful configuration that lets you launch several websites off just one WordPress install.
But what if you excitedly activate Multisite only to change your mind later?
In this Weekend WordPress Project, we’ll run through how to uninstall Multisite and get your site back to a single WordPress install.
Uninstalling Multisite involves undoing all of the work you did to
install it in the first place, so let’s go through it step by step:
1. Back up all your files! It’s better to be safe rather than sorry. You might like to check out Snapshot by WPMU DEV.
2. Login to your WordPress site via FTP or your site’s cPanel. If you’re using cPanel, head to File Manager to access your site’s files.
3. Open up the wp-config.php file and delete the following code:
4. You will also need to edit the following line in your wp-config.php file and set it to “false”:
5. Next, you will need to edit your .htaccess file, which is in the root of your WordPress install:
6. Finally, you’ll need to drop the following global tables in your
database. phpMyAdmin is probably the easiest software to do this with
you use cPanel, though you can use whatever method you like:
Enjoy the weekend!
WordPress Multisite is a powerful configuration that lets you launch several websites off just one WordPress install.
But what if you excitedly activate Multisite only to change your mind later?
In this Weekend WordPress Project, we’ll run through how to uninstall Multisite and get your site back to a single WordPress install.
1. Back up all your files! It’s better to be safe rather than sorry. You might like to check out Snapshot by WPMU DEV.
2. Login to your WordPress site via FTP or your site’s cPanel. If you’re using cPanel, head to File Manager to access your site’s files.
3. Open up the wp-config.php file and delete the following code:
1 2 3 4 5 6 7 |
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 ); |
1 |
define('WP_ALLOW_MULTISITE', true);
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
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] |
wp_blogs wp_blog_versions wp_registration_log wp_signups wp_site wp_sitemeta7. And now you’re all done and multisite should be gone from your WordPress install.
Enjoy the weekend!
Comments
Post a Comment