WP Site Cloner
Create sites with content from other sites
by John James Jacoby · github.com/stuttter/wp-site-cloner · website
★ 24stars
9forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/stuttter/wp-site-cloner/archive/refs/heads/master.zipUse an existing site's content to populate a new site.
WP Site Cloner allows the copying of a site's content with just 1 function.
Installation
- Download and install using the built in WordPress plugin installer.
- Activate in the "Plugins" area of your admin by clicking the "Activate" link.
- No further setup or configuration is necessary.
FAQ
Does this create new database tables?
Technically, that's the only thing that it does!
Does this modify existing database tables?
No. All of WordPress's core database tables remain untouched.
How do I use this?
Probably something like:
wp_clone_site( array(
'domain' => 'src.wordpress-develop.dev',
'path' => '/paul/',
'title' => 'Paul the Dog',
'from_site_id' => 35,
'to_network_id' => 1,
'meta' => array(
'public' => 1
)
) );
What about wp_links?
If link_manager_enabled is falsey on the source site, it will not get copied over to the new one.
Where can I get support?
The WordPress support forums: https://wordpress.org/tags/wp-site-cloner/
Can I contribute?
Yes, please!