You are here
Those of you using TurnKeyLinux appliances for WordPress, and NOT using TKLBAM, here is a trick/hack to ensure a complete migration.
I just installed 4.1 and it is fantastic!
I use turnkeylinux appliances and there is one problem with the final stage of the duplicator plugin.
At completion, the url is duplicated. Do not click on the links yet!
Open wp-config.php and remove the actual url and leave it blank.
Here is what duplicator writes:
define('WP_SITEURL', 'http://10.0.1.30'.$_SERVER['HTTP_HOST']);
define('WP_HOME', 'http://10.0.1.30'.$_SERVER['HTTP_HOST']);
here is what I changed it to:
define('WP_SITEURL', 'http://'.$_SERVER['HTTP_HOST']);
define('WP_HOME', 'http://'.$_SERVER['HTTP_HOST']);
TurnKeyLinux uses the wildcard declaration, so the actual siteurl and home address are not needed.
Now it works like a dream.
Add new comment