WordPress.org

Ready to get started?Download WordPress

Forums

Duplicator
[resolved] Unsuccessful move (5 posts)

  1. David
    Member
    Posted 1 year ago #

    I want to use duplicator to move a site from my dev server at home to production at Godaddy. I have set up two virtual machines at home to test.

    I moved the site from one server at 192.168.15.16 to another at 192.168.15.17. I have snapshots, so I can keep trying until I get things to work.

    Installer.php runs fine without error. However, the page is broken and I am not sure where to start. Part of what I am seeing is that all formatting is gone and the menu is presented as a simple list of links down the left side. The links contain the replaced url twice = http://192.168.15.17192.168.15.17/?page_id=125.

    Any advice would be greatly appreciated.

    Thanks.

    http://wordpress.org/extend/plugins/duplicator/

  2. David
    Member
    Posted 1 year ago #

    Nevermind. just needed to fix two lines in the wp-config.php. Looked so bad and was so easy to fix. :-)

  3. Cory Lamle
    Member
    Plugin Author

    Posted 1 year ago #

    Hey David,

    Can you provide what two lines you tweaked, just in-case someone else runs into the same issue?

    Thanks

  4. David
    Member
    Posted 1 year ago #

    Sure, It was these two.

    define('WP_SITEURL', 'http://'.$_SERVER['HTTP_HOST']);
    define('WP_HOME', 'http://'.$_SERVER['HTTP_HOST']);

    That is the way they should look. After the "duplication" these contained the IP address and also the variable. So, this created the duplicate IP shown in the post above.

    I believe this is what it looked like before correction:
    define('WP_SITEURL', 'http://192.168.15.17'.$_SERVER['HTTP_HOST']);

  5. Cory Lamle
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks David! I'll have to look into a better parser for these variables as the regular expression I'm using doesn't support this case. However I have added those variables to the final report as a reminder to go check them. The update is now in the hotfix line here:

    -> Browse to http://wordpress.org/extend/plugins/duplicator/developers/
    -> Look for the section "Other Versions"
    -> Click on "Development Version" and download the zip plugin file
    -> Uninstall your current version and install this one

    Cheers!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic