Once I had everything in place the migration itself only took a couple of hours. I started with an export and import of my site using the WordPress-provided tools but found that this only transferred the basics — mainly the text. I’ve spent a lot of time over the years tweaking different aspects of the site and didn’t want to go through trying to reassemble it again. The All-in-One WP Migration plugin came to my rescue — this exports pretty much every aspect of a WordPress site including media, plugins, customisations etc. and lets you drag and drop the exported file to its new home. In order to export the data I had create a new folder on the server and grant write permissions to it, but I didn’t need to make any customisations for the upload to work on the new site. Exporting is free but importing a file of over 512Mb means that you need to buy a licence for USD 69 (about GBP 50). My export file was 1.4Gb so I had to pay; in my mind this was money well-spent considering the alternative of spending hours making all the customisations, reinstalling plugins and uploading all of my old media again.
Uploading my own static HTML content was as simple as can be, again making reference to the many straightforward Siteground tools and reference pages on how to create a key pair to enable an SFTP connection.
Once the content was uploaded and I’d tested it out I had to make a few tweaks to the variables so that it recognised itself as the canonical andrewdoran.uk and then repointed the DNS entries to the new site. I know that DNS is meant to take up to 48h to propagate but the change seemed almost instant from where I was connecting from. I also made a simple change to redirect ‘www’ requests to the non-www equivalent.
Having got the site up and running it was exceedingly easy to use the Siteground-provided tools to not only install a valid Let’s Encrypt SSL certificate but also to get any requests to HTTP pages redirected to the HTTPS equivalent on the site.
As far as migrations go it was exceptionally straightforward. It’s great to know that not only am I now able to serve up site content over HTTPS but also that I don’t need to worry about maintaining the operating system on my web server, as the host will do that for me.
Leave a comment