Support » Plugin: Duplicator - WordPress Migration Plugin » Should delete wp-config.php or the whole site by installing on an existing site?

  • Resolved Edward

    (@kamiyeye)


    Hi,

    I got this message during installation:

    Duplicator works best by placing the installer and archive files into an empty directory. If a wp-config.php file is found in the extraction directory it might indicate that a pre-existing WordPress site exists which can lead to a bad install.

    This is an existing site, I’m a little confused on the message, does it mean we should delete wp-config.php? Or the whole site before continue?

    • This topic was modified 2 years, 7 months ago by Edward.
Viewing 2 replies - 1 through 2 (of 2 total)
  • I have managed to figure it out that the difference is deleting wp-config.php only will result in old files continue to exist after installing a snapshot, which may not ideal if the goal is making an exactly match site.

    Plugin Author Cory Lamle

    (@corylamleorg)

    Hey Edward,

    Typically if your moving a site to a new location then in most cases its ideal to have an empty dir with only the installer and archive, however there maybe cases where you may not want to do that, it that scenario your correct if you remove the wp-config.php the process will continue.

    Cheers~

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Should delete wp-config.php or the whole site by installing on an existing site?’ is closed to new replies.