This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Replace variables with yours | |
// Run script with "php clone_wp.php" | |
// Requires All in One WP Migration Unlimited stored locally and path updated below - other backup plugins can be used with some teaks to WP CLI commands | |
// Requires All in One Backup file created source website and path and filename copied to that below | |
// iThemes securiy is used on source system to hide the admin URL | |
// WP Migrate DB is installed in source system to do find and replace of some settings, like a new Admin URL | |
// Check WP Config settings at bottom, you probably will want your own or none of these |