Updated 20170228
Since the process below we installed WordFenc, after restoring we cannot get to the restored site, it is returning a 500 Internal Server Error
The restore warns us that there is a php.ini (used in the source site for firewall protection)
Also the siteground source site, to enable wordFence firewall we had to use CPanel add php vars to create the new php.ini file. When actioned I notice this also in .htaccess added:
SetEnv PHPRC /home/mecha4ma/public_html/php.ini
Before the backup I disabled the firewall in the source site…
On the target site I simply replaced the .htaccess file as per before and we are good to go (removing the above line as a result)
(there seems to be no need to remove the php.ini file
201701
Woocommerce site using some plugins
- Need to clone site prior to upgrades to test updates + new/updated plugins
- Will clone to a non public sub domain (on another random site base domain) so no public access
Manual procedure (phase 1)
- Source site:
- Install Backup buddy
- Set password in BackupBuddy settings
- Do a full backup
- Download backup.zip
- From BackupBuddy Restore/migrate link download importbuddy.php
- Target site hosting folder:
- upload above backup .zip
- upload above importbuddy.php
- Target host url
- browse to url/importbuddy.php
- Enter above password, accept defaults
- At DB options:
- enter connection details per target
- delete all
- At URL setings, accept change from source to target
- browse to url/importbuddy.php
- Target site hosting folder:
- Use FTP tool to replace source .htaccess with a non SSL version (Arrrg. and I cannot get the below snippet to stop escaping < > when using pre tags)
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
- Use FTP tool to replace source .htaccess with a non SSL version (Arrrg. and I cannot get the below snippet to stop escaping < > when using pre tags)
Finally:
- Payments methods must be set to test if possible or disabled:
- Woocommerce->Settings->Checkout->Paypal
- Enable PayPal sandbox
- Woocommerce->Settings->Checkout->Paypal