该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Blog Copier

Description

A simple and effective approach to copying blogs within a multisite network.

  • Copy a blog including all its widgets, template settings and more.
  • Option to copy or not copy files.
  • GUIDs and urls in post contents are migrated automatically.

This plugin was derived from Ron Renneck’s awesome WP Replicator (http://wpebooks.com/replicator/) plugin, although it’s been 90% rewritten. Changes from the original include the following:

  • Improved performance on large scale blogs.
  • Improved file copy performance and an option in the admin to bypass copying altogether.
  • Removed limit of number of blogs that can be used as a copy source.
  • Encapsulated the code in a Class and renamed variables to be more readable.
  • Revised UI to keep it simple and easy to use.

Sadly the WordPress file management code is not idea for handling the copying of a large folder with subdirectories so we opted to stick with exec(‘cp’). On the flip side, we set up a filter (copy_blog_files_command) so that you can override it with your own custom copy code.

This plugin is actively supported and we will do our best to help you. In return we simply as 3 things:

  1. Help Out. If you see a question on the forum you can help with or have a great idea and want to code it up and submit a patch, that would be just plain awesome and we will shower your with praise. Might even be a good way to get to know us and lead to some paid work if you freelance. Also, we are happy to post translations if you provide them.
  2. Donate – if this is generating enough revenue to support our time it makes all the difference in the world
    https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TWM2GF6BQZGSN
  3. Support us by buying our Premium plugins. In particular, check out our Events Calendar Pro http://tri.be/wordpress-events-calendar-pro/

Documentation

It’s pretty straight forward. Select the blog you want to copy. Set a new domain or subdomain and a title. Decide if you want to copy the files or just the data. Click “Copy Now”. Done.

This DOES NOT copy blogs across networks, back up blogs off the network, or copy the master blog. This also does NOT copy users from one blog to another.

屏幕截图

  • Blog Copier Screen
  • Sites "Copy" Option

Installation

Install

  1. In your WordPress Network administration, go to the Plugins page
  2. Activate this plugin and a subpage for the plugin will appear
    in your Sites menu.

Please visit the forum for questions or comments: https://wordpress.org/tags/blog-copier/

Requirements

  • PHP 5.1 or above
  • WordPress 3.0 or above
  • Multisite activated with at least one sub-blog

常见问题

Where do I go to file a bug or ask a question?

Please visit the forum for questions or comments: https://wordpress.org/tags/blog-copier/

Reviews

2017年7月1日
I was a happy user of this plugin for many years. I was creating a test site of my shop, tested some things, deleted the site and when a new need arose, I copied a fresh version of my shop to test things again. What I didn't know was that this plugin duplicates database tables and leaves them after deleting the blog. In result, db grows, slows down and is prone to errors. It's hard to clean up after few years. This and the fact that this plugin was not updated since few years shows that Blog Copier shouldn't be installed under any circumstances! It works even now (hence 2 stars) but it's not worth the price.
2016年9月3日
You are a life saver. I tried using the plugin that you originally derived this from, and it was having issues. But this seems to have saved the say! YES Thanks Doug
阅读所有的14评价

Contributors & Developers

“Blog Copier” 是开源软件。 以下人员对此插件做出了贡献。

Contributors

将“Blog Copier”翻译成您的语言。

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

更新日志

1.0.7

  • Add ‘copy_blog_complete’ action. (thanks @mat-lipe)

1.0.6

  • Fix caching bug. (thanks @jbrinley)

1.0.5

  • Fix error with directory based blog structure.

1.0.4

  • Handle the new uploads directory structure of networks created with WP 3.5+

1.0.3

  • Fixed a wildcard table selection bug that was causing some real problems.
  • Fixed a minor bug that caused required empty options to not get copied from the source blog.
  • Remove superfluous db prepare() functions.
    Thanks @jbrinley!

1.0.2

Added .pot file. Anyone interested in submitting a translation??? https://wordpress.org/tags/blog-copier/

1.0.1

Minor documentation updates.

1.0

Initial plugin release. Woohoo!