wordpress マルチサイト サイト削除 プラグイン削除

サイト削除

マルチサイトからサイト削除

If you delete the site with plugins active that had created database tables, then those tables are not cleaned out when you delete a site. They will remain as artifact tables. What I recommend is to take note of the blog id of the site you are deleting. For example the 8th blog in the mu install will have tables named wp_8_ prefix. This should help in identifying artifacts later.

Delete sites in wordpress multisite (not suspend) - WordPress Development Stack Exchange

サイト削除前にプラグインを無効化する。
テーブルを作成するプラグインがアクティブな状態でサイトを削除するとテーブルが残る。

残った場合の手動削除

mysql> SHOW TABLES LIKE 'wp_2_%';
+---------------------------+
| Tables_in_wp (wp_2_%)     |
+---------------------------+
| wp_2_aioseo_cache         |
| wp_2_aioseo_notifications |
| wp_2_aioseo_posts         |
| wp_2_alm                  |
+---------------------------+
4 rows in set (0.01 sec)

DROP TABLE wp_2_aioseo_cache;
DROP TABLE wp_2_aioseo_notifications;
DROP TABLE wp_2_aioseo_posts;
DROP TABLE wp_2_alm;

All in One SEO (aioseo) と Ajax Load More (alm)

プラグイン削除

マルチサイトの子サイトで有効化されたプラグインをサイト管理で削除する場合、警告なしで削除されるため
使用状況を確認してから削除する。

子サイトのプラグイン管理画面で削除されたメッセージがでる。