這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Export 2 Multisite

描述

Export 2 Multisite exports your standalone database SQL for import into a WP multisite installation. It handles duplicate users (based on email) and will copy over all site settings including Widgets and Menus. You still need to copy the files for your themes, plugins and uploads.

  • This plugin has been minimally tested, but has been used to successfully migrate a handful of standalone sites to a multisite installation.
  • There is a good possibility it won’t work for sites that make use of a multitude of plugins – especially plugins that have their own database tables.

Installation

  1. Create a new site on the Multisite.
  2. Copy the plugins and themes from this standalone site to the Multisite.
  3. Copy the files from wp-content/uploads/ on this site to wp-content/uploads/sites// on the multisite.
  4. Backup the database on the Multisite.
  5. Provide the Site ID of the Multisite. This can be found by hovering the mouse over the new site on Network Admin->Sites.
  6. Provide the New URL. Example: //mysite.my-wp-multisite.com
  7. Provide the New file path (The file path of the Multisite installation).
  8. Export the database dump.
  9. Import the SQL into your Multisite installation.
  • Important: The exported SQL will DROP the tables that were created for the Site ID you provided. So only perform this migration on new empty Sites.
  • Note that the you may need to review the exported SQL to ensure that plugin database tables have been exported correctly.
  • The site admin (username and password) is the user you created while creating the new Site, NOT the site admin of this standalone site.
  • The guts of this export plugin were inspired by this blog post
  • The code for this plugin has been modified from the WP Migrate DB plugin, but should not conflict with it in any way.

安裝

  1. Use WordPress’ built-in installer
  2. Access the “Export 2 Multisite” menu option under the Tools menu

常見問題

I’m not a developer, can I use this plugin?

Probably not. You’re going to need some technical experience to migrate your site properly.

How do I import the file I downloaded into my WP Multisite?

You will need access to a database client that can perform writes to your WP database. You can use PHPMyAdmin, or run the raw SQL on the commandline using the mysql client and running the source command.

How do I download the images and files in my media library so I can upload them to my multisite?

You’ll need access to your server to get these files easily. Use FTP or SSH into your server to zip wp-content/uploads so you can download to your Multisite server. You could also make use of the All-in-One WP Migration plugin to export just the files.

How do I make sure the correct themes and plugins are setup on my multisite?

It’s likely easiest to just freshly install the themes and plugins on your Multisite. If you have a custom theme or plugin on your standalone site, you will need to copy it over the same way you copied your media files.

Will a future version of this plugin make it easier for me to export my media files, themes and plugins?

Maybe. This plugin was created in haste to tackle a problem that wasn’t already solved by some other plugin like the WP Migrate DB plugin or the All-in-One WP Migration plugin plugin. These plugins both suggest they have a PRO version coming that offers multisite migration. This plugin will always remain Free however.

評價

閱讀全部2個評價

貢獻者及開發者

“Export 2 Multisite” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Export 2 Multisite 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

0.2

  • In Advanced Options there is now a way to supply the database prefix of the target multisite (in case it’s not wp_).

0.1

  • The first release of this plugin.