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: You can now also use it without domainmapping, so just cloning sites in a batch! Insert the name of the subdir or subdomain you want to make in the place of the url.
- Install the plugin in the usual way into the WordPress plugins folder.
- 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.
- First you need a template site setup to clone.
- Add a new site, set it up completely with plugins, themes, posts, etc.
- 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.
- 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.
- Go to the Network Admin area and click on add clone sites in the sites menu.
- choose your template site from the dropdown list and select a admin user for the domains.
- copy paste the prepared textfile in the field and hit clone.
- That’s it, just wait till it is finished.
- After saving so much time for you, make sure you buy me a coffee!
- 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 from the template?
You can now choose to copy all images and uploads from the template. Not that this will have impact on your hosting diskspace depending on how many uploads and clones you make.
Contributori și dezvoltatori
„Add Clone Sites for WPMU (batch)” este un software open-source. La acest modul au contribuit următoarele persoane.Contributori
Te interesează dezvoltarea?
- Minor bugfix in jquery code which stopped the buttons from showing up
- Stopped logging for development purposes, due to too much spam
- Made it possible to just batch clone without using domainmapping. So no valid new url is needed.
- Added the option to copy images and uploads from the template to the new blogs (note that this will take up extra space on your account!)
- 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..
- Added support for subdirectory installs, now both subdomain as well as subdirectory network installs will work.
- Changed the urls of the sites back to wp network urls (http://site.maindomain.com or http://maindomain.com/site) in stead of using its domainmapped urls.
- This is the first stable version, sorry due to wrong links it did not work properly…
- The first ‘stable’ version to be released public
- Added permalink updating (permalinks did only work after viewing the permalinks settings in the dashboard)
- Added nice graphics