Migrate WordPress to a Test Subdomain Before Going Live
Learn how to migrate your WordPress site to a test subdomain using WP Migrate Toolkit. Follow our tips for a smooth and secure transition.
Why Migrate to a Test Subdomain?
Migrating a WordPress site to a test subdomain is essential to ensure that new changes work correctly before going live. This process allows you to detect and fix errors without affecting the user experience on the main site.
Preparing for the Migration
Before starting the migration, make sure you have a subdomain ready on your server. This typically involves creating a DNS record for the subdomain and configuring your web server to point to the corresponding root directory.
Creating the Subdomain
- Access your hosting control panel.
- Create a new subdomain, for example, test.yoursite.com.
- Configure DNS settings if necessary.
Migrate with WP Migrate Toolkit
WP Migrate Toolkit simplifies the migration process with its CLI tools and plugin. Here's how to use it:
Using the WP Migrate Toolkit Plugin
- Install and activate the plugin on your main WordPress site.
- Access the plugin settings and select "Migrate."
- Select the destination subdomain as the migration target.
- Initiate the migration process.
Using the WP Migrate Toolkit CLI
For advanced users, the CLI offers a quick solution via the command line:
- Download and install the WP Migrate Toolkit CLI.
- Open your terminal and execute the migration command.
- Ensure that the site's database and files are correctly transferred.
Verify the Migrated Site
Once the migration is complete, it's crucial to test the site on the subdomain:
- Check links and images.
- Test key functionalities and major plugins.
- Ensure all JavaScript scripts and CSS styles work correctly.
Conclusion
Migrating your WordPress site to a test subdomain is an important step to ensure a smooth go-live. By using WP Migrate Toolkit, you simplify this process and reduce the risk of errors. Don't wait any longer and download the plugin or the CLI to facilitate your migrations.
Migrate a WordPress site hassle-free
WP Migrate Toolkit moves files + database over FTP, without SSH.
Download the CLI Download the plugin