How to move a WordPress site from a staging domain to a live one in Plesk


Note: This is an advanced guide and may take 1hr+ to complete. Please note that if the steps are followed incorrectly and the site fails to load, our support team will not be able to investigate or fix any development problems. If required, we could perform a manual migration to carry out these steps on your behalf. You can find more information in this guide.

The information in this guide is provided as a suggestion, and we can't provide detailed support for modifications to a Content Management System. If you require assistance with this, we'd recommend speaking to your website developer to ensure relevance and compatibility with your site.

Assumptions:
  • You have a live site like 'yourdomain.net.au', currently loading out of your httpdocs directory.
  • You have a staging site, currently loading out of a subdomain like 'dev.yourdomain.net.au' or a subfolder 'yourdomain.net.au/test'.
  • The DNS for your site is pointing to our server.



Step 1 - Log into your Plesk Account and navigate to the Wordpress tab.

767d73b51afde041622cb82e515439d76abe45bd?t=c03a030a44fd99b6578447c52cd3f9ff


Step 2 - On the Wordpress Toolkit tab for the development site, select Copy Data.

b21e2079e1105b5661c8fdae08342845a3e3b302?t=7bc9f3e5beca14d40f8ebddb14406a20



Step 3 - Fill out the options as below. Note that these options assume you would like to completely replace the old site with the staging site, only keeping the existing users.

Location: Select the primary domain for the Target.
Data to Copy: Select "Files and Database" unless your developer advises otherwise.
Database Tables: Select the default option unless your developer advises otherwise.
Restore: Restore points shouldn't be necessary, but there's no reason to not take them. The backup files are stored in your File Manager, in ".wp-toolkit/snapshots".

e369e6aa8839ca07a49c293d83182a292a2090e8?t=9c7b62c92b9dcf773b8bb801ffd6757c



Step 4 - Select Close.

1481b67c587ead0c676129c88e8d0b7a0a359d94?t=38627f9e0486ccca3011936b5786e54b



Step 5 - Visit your primary site and confirm that the page loads as expected. You may have to hit the 'Refresh' button in the Wordpress toolkit before it shows the new site on the Plesk management area.

13b51a8cb246a929e2ced5d297d02c931f916abe?t=6ef280526d948f6c1d14d0b271472845



If you find that the site has not been brought across correctly, we'd recommend restoring the site from a backup and then contacting your developer for further assistance with the migration.


Did you find this article useful?