Support » Plugin: WP Staging - DB & File Duplicator & Migration » Clarify migration process for free WP Staging plugin

  • Resolved emorran

    (@emorran)


    Hi,

    I’m migrating a site using the free version and I am unsure about the first step in the process. When you copy the folders wp-content/uploads, wp-content/plugins and wp-content/themes from the staging site to the live site, are you supposed to overwrite the ones on the live site, merge them or something else?

    Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Rene Hermenau

    (@renehermi)

    Hi @emorran

    in the documentation for using the free version it’s mentioned to overwrite all of them but when it comes to the plugins it’s better if you delete the old plugins or rename the plugin folder and then to copy the staging plugins folder to live.

    Cheers
    René

    Hi,
    I am using the free version and think its great.
    However, I am struggling to push it live via the manual procress.
    I am responding to this thread because it relates to the first process which for me is still not clear.
    Above you say ‘it’s mentioned to overwrite…’

    However the manual i can see on my version (updated) says:
    2. Step – Copy Files
    Use an FTP program like Filezilla and copy over the folders wp-content/uploads, wp-content/plugins and wp-content/themes from your staging site subfolder to the production site.

    And not further explantion. So I don’t know if I cam doing it correctly.
    FYI: I have copied staging folders into live site. And delated live site folders.

    At the end of the process; when i get to check the ‘new’ live site I get told to reinstall WP.

    I have surely made a mistake in the process but I am not sure where.
    Can you help?
    Thank you

    As a follow up to my last post.

    The final process says:

    The last step is to tell the WordPress live site to use the database tables of the staging site.

    For this, you need an FTP account to access your website and an FTP client. I recommend the use of filezilla. It’s entirely free and open source.

    Login to your website with the FTP program and open the config file of your live site:

    wp-config.php
    Open the file in edit mode by opening the context menu with the right mouse button and select edit

    Use FTP again and open the config file wp-config.php of your live site.
    The file is located in /path_to_wordpress/wp-config.php
    Change the value of $table_prefix to the same value that is used by the staging site, e.g.

    This suggests 2 wp-config.php processes. However if I cam reading it correclty it is the same process both on the Live site. So i don’t know why I am being asked to open it twice.

    Many thanks for your assitance.

    Plugin Author Rene Hermenau

    (@renehermi)

    Hi @eggrace

    > This suggests 2 wp-config.php processes.

    thanks for the heads up. I’ve corrected that mistake and modified that chapter. Please have a look at it.

    > At the end of the process; when I get to check the ‘new’ live site I get told to reinstall WP.

    If wp staging wants to reinstall the website it means that it can not establish a connection to the database tables or some files are missing

    You need to make sure that you changed the wp-config.php as described. Before that, you also need to use the search & replace plugin as described.

    > FYI: I have copied staging folders into the live site. And delated live site folders.

    There is nothing to delete and the instruction does not say that you need to delete anything except the old staging site folder after a successful conversion. So I wonder what you deleted. So this already could be the culprit.

    Thank you Rene,
    I will have another go with your suggestions.

    I deleted the files based on this response you gave to a previous member:

    ‘in the documentation for using the free version it’s mentioned to overwrite all of them but when it comes to the plugins it’s better if you delete the old plugins or rename the plugin folder and then to copy the staging plugins folder to live.’

    I must misinterpret. Does overwrite mean replace the content within each file? Or copy the file and add to the wp_content folder alongside the live site folders?

    Many thanks
    Elliot

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.