Need to Clone a wordpress blog?
Copy files to the new location
After you got the URL set up for the clone.
# copy all the wp files to the clone location cp -a blog.originalwp.com/. new.clonewp.com/
Create the Clone WP DB
This IMO took the most work. And you need to set it up in your hosting provider’s dashboard.
More instructions are here
Last couple steps are super easy
- Update wp-config.php
- Update siteurl or home in the DB table wp_*options
- Login via
new.clonewp.com/wp-adminand install the plugin Better Search Replace
Use the Better Search Replace plugin to replace the original blog URL with the clone’s URL every where in the DB.