https://github.com/beapi/wp-cli-site-duplicator-command
A WP-CLI command for duplicating a site (blog) on a WordPress mutisite network
https://github.com/beapi/wp-cli-site-duplicator-command
wordpress wordpress-plugin wp-cli wp-cli-command
Last synced: 8 months ago
JSON representation
A WP-CLI command for duplicating a site (blog) on a WordPress mutisite network
- Host: GitHub
- URL: https://github.com/beapi/wp-cli-site-duplicator-command
- Owner: BeAPI
- License: apache-2.0
- Created: 2020-06-23T06:52:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-09-29T20:54:50.000Z (about 2 years ago)
- Last Synced: 2025-04-22T15:12:02.800Z (8 months ago)
- Topics: wordpress, wordpress-plugin, wp-cli, wp-cli-command
- Language: PHP
- Homepage:
- Size: 416 KB
- Stars: 12
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README

# WP-CLI Site Duplicator
For multisite only. Introduces a WP-CLI command for duplicating a site on a WordPress multisite network.
Install and activate as a normal plugin. Then in the command line, from your site's root directory, run `wp help`. You should see `duplicate` as a registered command, then you can continue.
## Requirements
* PHP >= 5.6
## Installation
```
wp plugin install https://github.com/BeAPI/wp-cli-site-duplicator-command/archive/refs/heads/master.zip --activate-network
```
## Usage
Duplicate your current site:
```
wp site duplicate
```
Duplicate a specific site on the network:
```
wp site duplicate --url=domain.tld/somesite
```
### Additional options
For a little extra output add `--verbose`
## Who ?
Created by [Be API](https://beapi.fr), the French WordPress leader agency since 2009. Based in Paris, we are more than 30 people and always [hiring](https://beapi.workable.com) some fun and talented guys. So we will be pleased to work with you.
This plugin is only maintained, which means we do not guarantee some free support. Consider reporting an [issue](#issues--features-request--proposal) and be patient.
If you really like what we do or want to thank us for our quick work, feel free to [donate](https://www.paypal.me/BeAPI) as much as you want / can, even 1€ is a great gift for buying coffee :)