https://github.com/stuttter/wp-site-cloner
Create sites with content from other sites
https://github.com/stuttter/wp-site-cloner
clone multisite sites wordpress
Last synced: 10 months ago
JSON representation
Create sites with content from other sites
- Host: GitHub
- URL: https://github.com/stuttter/wp-site-cloner
- Owner: stuttter
- Created: 2016-02-17T22:51:49.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-11-23T15:52:55.000Z (about 6 years ago)
- Last Synced: 2025-03-26T06:34:29.977Z (10 months ago)
- Topics: clone, multisite, sites, wordpress
- Language: PHP
- Size: 392 KB
- Stars: 24
- Watchers: 1
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WP Site Cloner
Use 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!