WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Unsuccessful move

[Resolved] Unsuccessful move

  • David
    Member

    @davidlrichmondyahoocom

    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/

Viewing 4 replies - 1 through 4 (of 4 total)
  • David
    Member

    @davidlrichmondyahoocom

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

    Plugin Author Cory Lamle
    Participant

    @corylamleorg

    Hey David,

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

    Thanks

    David
    Member

    @davidlrichmondyahoocom

    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’]);

    Plugin Author Cory Lamle
    Participant

    @corylamleorg

    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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Unsuccessful move’ is closed to new replies.