If you’d like to move your website from another provider to Websavers, this is called a migration. You can learn how to migrate your website here. Or you can let us take care of it for you! Check out our SiteMigrator service here.

It used to be that the only way to do this was to simply download all the files to your computer via FTP and upload them to the new location, whether that be a different path or to a subdomain. With most sites using databases now, this doesn’t entirely take care of things. You now need to not only copy the files, but export and import the database as well. In many cases, entries in the database reference the old domain or old folder path, each of which needs to be updated, making it a long and messy process to complete.

Requirements

  • You cannot and should not clone an app to a destination that already contains a website. You should backup and remove any site content in the destination domain or subdomain first.
  • If your website isn’t yet showing in the list of apps under 1-click web apps in Plesk or web applications in the Client Centre, yet your website is powered by one of the supported web apps (such as WordPress, Magento, or Joomla), you should import it now.

Steps to clone your website

  1. Login to the Client Centre and Manage your hosting plan
  2. Under the Web Applications box, find the app you wish to clone and click the Manage button followed by the Clone button
  3. Select the destination. It could be a domain, subdomain and/or path you wish to copy the site to. You can also choose the option to create a new domain here.
  4. Click Clone or Continue to proceed with the clone.

Alternative steps to clone your website

  1. If you’re copying the site to a new domain or subdomain, you must add your new domain in Plesk at this time
  2. Go to the 1-click web apps utility and find the web app in the list that runs your site
  3. Press the Clone button and select the new domain, subdomains and/or path
  4. Click Clone or Continue to proceed with the clone.

That’s it! It will automatically update all configuration files and paths in the database for you as well as copy over all files.

If you have uploaded or created files outside of the web application, be sure to copy those over manually after the clone is complete.

Once the clone has been completed here’s two additional steps you may wish to take:

  • If you are only planning on using the website at the new URL, you should now remove the old site using 1-click web apps. This ensures it is not a security risk for your hosting account.
  • If your clone was completed to move the site to a new domain, take a look over our guide to setting up a 301 redirect to ensure anyone reaching the old domain is redirected to the new one.

Troubleshooting

After cloning, some files are missing, like custom fonts. Why is this?

If the missing files are in a directory on the web root (e.g.: /fonts instead of /wp-content/fonts) there’s a very good chance that 1-click web apps simply doesn’t know that these files are part of the application.

Go to the 1 Click Web Apps tool, click on the site, and then go to the “Files and Tables” tab where you’ll see a list of all the files and folders that 1-Click believes are part of the web application. If you find the missing files not selected in the list, you can click the checkbox next to it and then click save at the bottom. Then, when you clone next, it will know that it is part of the content you wish to copy. You should do this for any files or folders you choose to put up that are outside of the “expected” WordPress structure.

You can now either copy the missing files over manually or move the files into your child theme’s folder; that is where they belong after all!

After or during cloning my site I get a 500 error

See this knowledge base article to learn how to fix 500 errors.

After cloning my site, styles and theme settings are not loading properly!

Solution 1: Try manually re-saving your theme settings (note, not WordPress settings — the settings fields that pertain only to the theme), it will fixing everything with a simple click of the save button.
Solution 2: Look for an option in the theme settings to export your data from the old/source version of the site, then import that file it provides into the new/destination version of the site.
Solution 3: If you’ve encountered this problem after manually running a find/replace on your database and this is your only option for importing the data, you can then run this script on your sql file. It will update the character counts for all serialized data in your database dump. Then import the sql file and you should be all set.

About Jordan Schelew

Jordan has been working with computers, security, and network systems since the 90s and is a managing partner at Websavers Inc. As a founder of the company, he's been in the web tech space for over 15 years.

Leave a Comment