Deploying WordPress to LaunchWP via DeployHQ: Fast & Reliable
Deploying to your WordPress site hosted with LaunchWP is very simple with DeployHQ. First, you'll need to set up your DeployHQ project, then connect to your LaunchWP server.
Setting up your project
Head to the Projects screen in DeployHQ, then click the New Project button to get started.
You'll be prompted to enter a name for your project, then select where your repository is hosted.
Next, click Create project and you'll be taken to a screen where you can log in with your repository hosting account to authorise access and then choose your repository.
- Adding a Bitbucket repository
- Adding a Codebase repository
- Adding a GitHub repository
- Adding a GitLab repository
- Adding a repository manually
Setting up your LaunchWP server
Once you've configured your repository, you'll need to connect to your LaunchWP server. Head to Servers & Groups, and click the New Server button at the top of the screen.
For LaunchWP, you'll use SFTP instead of FTP:
- Choose SFTP as the protocol
- Enter your LaunchWP SFTP details:
- Hostname: Found in your LaunchWP dashboard
- Port: Typically 22
- Username: Your SFTP username
- Password: Your SFTP password
You can find your SFTP connection details in the LaunchWP dashboard. For reference, here's their official SFTP connection guide: LaunchWP SFTP Connection Guide
When setting the deployment path, you'll want to specify the exact directory for your WordPress theme or project files. Typically, this might look like:
/public_html/wp-content/themes/your-theme-name/
- Or
/www/your-site-name/wp-content/themes/your-theme-name/
Deployment Options
Within Deployment options, you can:
- Choose to automatically deploy
- Specify a deployment subdirectory
- Configure which files to include or exclude
Run your first deployment
By default, DeployHQ will upload the whole repository on the first deployment. To optimize your first deployment:
- Don't deploy your whole repository on the first deployment
- Using Accelerated TAR Deployments
- Running your first deployment
Further reading
DeployHQ offers powerful features for WordPress deployments:
- Compiling assets and javascript with the Build pipeline
- Running commands on your server with SSH commands
- Stop certain files from being uploaded in deployments using Excluded files
- Keep important files safely away from your repository using Config files
- Keep your team in the loop and run other useful tasks during a deployment with our Integrations
Want to learn more about deployment or WordPress? Check out our documentation or contact our support team for assistance.