How to completely delete Multisite in WordPress 3.0+

Everyone known that you do anything on WordPress it is change to Database of server. This post is tell you how to completely delete Multisite in your Database.

 

1. Remove the constants from the 【wp-config.php】 file:

define (‘MULTISITE’, ’1′);

define (‘SUBDOMAIN_INSTALL’, false);

define (‘DOMAIN_CURRENT_SITE’, ‘localhost’);

define (‘PATH_CURRENT_SITE’, ‘/wp-multi/’);

define (‘SITE_ID_CURRENT_SITE’, 1);

define (‘BLOG_ID_CURRENT_SITE’, 1);

$base = ‘/wp-multi/’;

 

2. Use FTP software to delete the 【.htaccess】 file and let WordPress create a fresh one. By create a fresh one, you can go to  WordPress 【Dashboard】-【Settings】-【Permalinks】  and just click on 【Save Changes】 button.

 

3. Log-in your web server and go to Database to remove the extra tables follow list below:

wp_blogs

wp_blog_versions

wp_registration_log

wp_signups

wp_site

wp_sitemeta

(The “wp_” prefix will be replaced with whichever prefix you made during installation”)

 

4. Remove the two extra fields added to the users table.

spam

deleted

 

Until now, congratulations! You’re completely deleted Multisite in WordPress and your Database.

 

</catmee> 文章全部原创、谢绝转载,作者「BianLei」,如果喜欢欢迎分享链接,相关内容参见本站版权声明
如果您觉得本站的存在对您多少有所帮助,可以用手机支付宝扫一扫以下二维码支付任意金额作为支持:支付宝
本站相关:QQ空间 | Facebook
Tagged . Bookmark the permalink.

Create code highlighter without plugin by use “google-code-prettify” in WordPress
Create code highlighter without plugin by use “google-code-prettify” in WordPress

2 Ways to notify WordPress comments author upon their replies without plugins
2 Ways to notify WordPress comments author upon their replies without plugins

How to Cloak Affiliate Links in WordPress without Plugin
How to Cloak Affiliate Links in WordPress without Plugin

Comic Fiesta 2014 Day 1 | Cosplay photo | Where is Ruri Gokou?
Comic Fiesta 2014 Day 1 | Cosplay photo | Where is Ruri Gokou?

How to get to Malacca from KL
How to get to Malacca from KL

Comment Anonymously? No Problem! | 可以匿名评论了我会说?

Fill up Email address to subscribe reply and display your avatar from Gravatar (If any)
填写邮箱即可显示您在Gravatar的头像