Skip to content

A WP-CLI command for duplicating a site (blog) on a WordPress mutisite network

License

Notifications You must be signed in to change notification settings

BeAPI/wp-cli-site-duplicator-command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

eb8bc06 · Mar 27, 2023

History

42 Commits
Jun 29, 2021
Mar 27, 2023
Jun 23, 2020
Jun 23, 2020
Jun 23, 2020
Apr 12, 2022
Apr 22, 2022
Jun 23, 2020
Jun 23, 2020
Jun 23, 2020
Jun 23, 2020
Sep 22, 2022
Oct 28, 2020

Repository files navigation

Be API Github Banner

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 <new-site-slug>

Duplicate a specific site on the network:

wp site duplicate <new-site-slug> --url=domain.tld/somesite

Additional options

For a little extra output add --verbose

Who ?

Created by Be API, the French WordPress leader agency since 2009. Based in Paris, we are more than 30 people and always hiring 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 and be patient.

If you really like what we do or want to thank us for our quick work, feel free to donate as much as you want / can, even 1€ is a great gift for buying coffee :)

About

A WP-CLI command for duplicating a site (blog) on a WordPress mutisite network

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages