该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.