Linux 软件免费装

Add Clone Sites for WPMU (batch)

开发者 fritsjan
更新时间 2011年8月7日 20:22
捐献地址: 去捐款
PHP版本: 2.9.2 及以上
WordPress版本: 3.1.2

标签

template wpmu clone batch create multi site add cloned sites add site domainmapping domainmap donncha wordpress mu domain mapping cloning clone blog

下载

0.8 0.8.1 0.8.2 0.8.3 0.8.3.1

详情介绍:

With this plugin you can simply batch create / add a bunch of sites to your WPMU install (Wordpress Network) and use one of your existing sites as a template for the new sites. The existing blog will be cloned exactly including posts, layout, settings, etc. The plugin also takes care of domainmapping the newly created sites. (depends on 'WordPress MU Domain Mapping' by Donncha to be installed) This plugin will save you a lot of time. Even adding one site is faster with this pluging compared to the normal way: add site, domainmap it, set everything up. Update: Now also works for both subdomain as subdirectory network installs.

安装:

  1. Install the plugin in the usual way into the WordPress plugins folder.
  2. Network activate the plugin (it has only effect on the network admin area, so it is safe to network activate.
That's it. Now you can go to the Network Admin area and there you will see the plugin in the sites menu The preferred workflow is as follows: After setting up a Wordpress network based on subdomains and installing and activating 'Wordpress MU Domain Mapping' by Donncha and this plugin you are good to go.
  1. First you need a template site setup to clone.
  2. Add a new site, set it up completely with plugins, themes, posts, etc.
  3. I suggest you give the sitename a prefix like tmp-, for example 'tmp-foobarsites'. This will make it easyer for you to recognise the template sites from the normal sites. Also, in a future release of this plugin filtering on a prefix will be supported.
  4. prepare a textfile / excel file with the url's, blognames, and blogdescriptions you want to create. Use the format: "new_site_url, site_description, site_name". If you leave the site_name empty, it will take the url as the sitename. Don't use http:// and think if you want the site to use the prefix www. or not.
  5. Go to the Network Admin area and click on add clone sites in the sites menu.
  6. choose your template site from the dropdown list and select a admin user for the domains.
  7. copy paste the prepared textfile in the field and hit clone.
  8. That's it, just wait till it is finished.
  9. After saving so much time for you, make sure you buy me a coffee!

升级注意事项:

0.8.3
  • Minor change: renamed some functions in order not to collide with functions of other plugins.
  • Fixed duplicity check, in some cases you could make sites with the same url..
0.8.2 This plugin worked only for subsomain network installs, now it should also work for subdirectory installs

常见问题:

Where can I find the plugin after activation?

You can find it in the Network Admin area in the Sites Menu.

It gives an error on domainmapping

Because this plugin safes you time adding sites by cloning a template AND domainmapping them in one batch, this plugin depends on the 'WordPress MU Domain Mapping' plugin by Donncha. In order to make the domainmapping plugin work you might need to log out and in again after installing it.

Why can't I clone the main site?

I chose not to because the main site can be slightly different in structure than a new network site. Therefore the plugin is not looking for the main site in the template selection. Make a new site manually first, edit it to your whishing (no domainmapping required), and use that site as a template to clone. Tip: give the template site a distinctive name by giving it a prefix. For example: 'tmp-foobarsites'.\ Selecting on prefixes like 'tmp-' will be a future feature of this plugin.

It doensn't work

Please mention this on my pluginpage, so I can have a look at it.

How does it handle links to images in posts?

Ehm, not. In the newly cloned sites they will still link to the url of the image in the template site. I will make an option later to also duplicate all images and change the links to them, however in most cases you will change the images anyway. An other advantage is the space and bandwith you safe when not duplicating the images in post..

更新日志:

0.8.3 0.8.2 0.8.1 0.8