Deploying your WordPress site with Solid Deployments
Introduction
Stop wasting time on manual file transfers. With Solid Deployments, you can easily push file and database updates between two WordPress sites, even if they are hosted on different servers. This tool automates the heavy lifting, allowing you to sync your content and code in minutes. This guide walks you through the steps to deploy your updates successfully.
Differences between a Migration and a Deployment
For customers using Solid Central, the terms Migration and Deployment refer to two different, albeit similar processes:
- Migration: Moving a site to a new host and changing the domain.
- For more information see Migrate a WordPress Site with Solid Central
- Deployment: Syncing code between environments (Staging into Production, typically on the same host.
Prerequisites
- A WordPress site that is reachable via the public internet. Also known as the origin site.
- WordPress Admin credentials for the origin site and destination site.
- SFTP or SSH credentials for the origin and destination server where your sites are hosted.
- Log in credentials for a Solid Central account.
Step-by-Step Instructions
Solid Deployments automates most of the work in transferring your files and database from one host to another. Below is a breakdown of each step involved in the process.
- Log in to Solid Central.
- Click on Sites in the navigation menu.
- Bring up your site’s dashboard by clicking on the site you wish to deploy from the list of sites.
- Click on the Deploy icon, and then select Start a Deployment from the options to begin the process.
- Select a destination site from your list of connected sites.
- Confirm you wish to proceed with the deployment.
- Solid Central will begin copying your themes, plugins, media, and database tables to the destination. You do not need to keep this window open; the process will continue in the background.
- The time required to complete the deployment varies, but it is typically around 10-15 minutes for a standard WordPress site, depending on site size. Larger or more complex sites will take longer e.g. sites with vast media libraries, a significant number of plugins/files, large databases, etc.
- The time required to complete the deployment varies, but it is typically around 10-15 minutes for a standard WordPress site, depending on site size. Larger or more complex sites will take longer e.g. sites with vast media libraries, a significant number of plugins/files, large databases, etc.
- Follow the progress of the migration by looking at the new card in the timeline view as it will always reflect the current status. Click on Read Logs to get a better understanding of how it is progressing.
Next Steps
Verify URL Updates
Once the content has been successfully deployed to the destination site, Solid Deployments runs an automated search and replace to adjust URLs, file paths, and environment-specific values, so that it reflects the destination site URL rather than the origin site URL. You will want to verify this process completed successfully on a few important URLs.
Post-Deployment Verification
Now’s your chance to walk through the destination site as a visitor would. Test the front end and admin area, check for broken links and missing assets, and confirm login functionality.
A successful verification means the deployment successfully replaced the files and database tables on the destination site with those from your origin site.
Troubleshooting
If you are experiencing issues with the destination site after the deployment has completed, here’s what to check:
- Check that all files and database content were copied correctly.
- Look in the destination server’s PHP error logs or the WordPress debug log.
- Consider rerunning the deployment, as this will perform the file and database transfer steps again.