Website Cloning
Cloning allows you to create an exact duplicate of a live WordPress website on a new destination server and domain. Control Spot handles the packaging of files and database structures, transfers them in parallel, and automatically translates localized serialized configurations to match the target environment.
Cloning operates as a coordinated background workflow between your source and destination servers. The engine executes the following steps automatically:
- Archive Extraction: Packages the entire source website files and directories (including uploads, themes, and plugins) into a secure TAR archive.
- Database Export: Dumps your active database tables into a structured SQL script.
- Parallel Transfer: Initiates a direct server-to-server file and database transfer to bypass local browser upload limits.
- Target Restoration: Extracts all file hierarchies and imports the database schema onto the destination server.
- URL & Path Search-and-Replace: Scans the destination database to translate old URLs, absolute file paths, and serialized settings safely.
To clone your environment, complete the following sections in the deployment wizard:
- Source Website
- Select an active, connected website from your registered accounts list.
- The site must be online and running the Control Spot remote connector plugin.
- Target Domain / URL
- Provide the new target website address (e.g., https://cloned-site.com).
- This domain will be used to automatically replace all instances of the original URL during database translation.
- Target Server Connection
- Provide FTP or SFTP connection credentials for the target server.
- Ensure the remote directory exists and contains correct file write permissions.
- Target Database Credentials
- Input database host, name, user, and prefix details for the destination environment.
- Note: Cloning will overwrite existing tables in the target database if they use the same table prefix.
WordPress stores critical settings, widget configs, and builder layouts in serialized arrays. Doing a raw search-and-replace inside database strings will corrupt these arrays, rendering your site layout broken.