We'll create fresh WordPress site with MultiSite Clone Duplicator installed. You have 20 minutes to test the plugin after that site we'll be deleted.
MultiSite Clone Duplicator adds a “Duplicate Site” functionality to your network installation.
It allows you to clone any site of your network into a new one : all data, files, users and roles can be copied.
It is useful when you want to create multiple sites from the same template : Don’t waste your time copying the same configuration again and again !
Simple and user-friendly, this plugin extends WordPress core network’s functionalities without polluting the dashboard.
WARNING : If you clone the primary site, you must use mucd_default_primary_tables_to_copy
filter to declare plugins and custom database tables, or your cloned site won’t be complete
Action before / after copying files
Args :
Action before / after copying data
Args :
Action before / after copying users
Args :
Filter options that should be preserved in the new blog (original values from created blog will not be erased by copy of old site’s tables)
Args :
Filter fields to scan for an update after data copy
Args :
Filter tables to duplicate when duplicated site is primary site
Args :
Filter directories and files you want to copy
Args :
Filter which strings we want to replace during update
Args :
Arguments are :
wp site duplicate --slug=<slug> --source=<site_id> [--title=<title>]
[--email=<email>] [--network_id=<network-id>] [--private] [--porcelain] [--v]
[--do_not_copy_files] [--keep_users] [--log=<dir_path>]<h3>Thank’s</h3>
The original version of this plugin has been developed by Julien OGER who keeps following the project carefully.
Some code for search and replace in SQL serialised data were initialy taken from Lionel Pointet WordPress Migration tool