How to migrate WordPress to another hosting provider without losing data, email or rankings

Migrate wordpress to another hosting by following a structured transfer protocol. This applies when you possess full administrative access to your current dashboard and a new account. Compare your current database size against the new plan limits using a tool like Duplicator.

Identify a new provider that supports your specific technical requirements before starting the move. Proper wordpress hosting involves moving your files and database to a new server while keeping your domain pointed at the old location until the switch is finished.

Migration success relies on a final DNS propagation, which is the period when internet records update across the globe. Most people believe a fast migration happens instantly, but a delayed update period is actually the standard way to ensure no visitors see a broken site.

What it is
Moving a WordPress installation from one hosting provider to another while preserving all files and database records
Who it suits
Users needing to change infrastructure providers without changing their current URL or losing existing site data
What you need first
A complete export of the SQL database and all files from the source hosting account dashboard
What it costs to change later
DNS records remain unchanged because the migration happens on the backend server and does not affect the domain
First thing to check
The wp-config.php file confirms the database connection details are correctly mapped to the new host's credentials

Does storage space or server speed matter more for WordPress hosting?

Server speed matters more than storage space for a WordPress site that requires fast load times and high-quality user experiences. While storage space dictates how much content you can host, server speed determines how quickly that content appears to visitors. You should compare wordpress hosting plans to choose a host that prioritizes processing power to maintain your site performance.

Verify IP address propagation for rankings

To maintain search rankings during a move, you must keep your DNS records pointing to the correct destination. You should verify that the new IP address is correctly propagated to prevent downtime. This process ensures that search engines continue to index your pages without interruption.

Calculate total migration service costs

A law firm needs to migrate their client portal to a more secure hosting environment. They chose a migration service with a base fee of $500 and required 4 hours of work at an hourly rate of $150. The total service cost is $1,100, which results in a cost per hour of $150. They compared this total against their project budget and proceeded with the move.

Hosting plan commitment levels

Hosting Plan Type Storage Capacity Commitment Processing Speed Commitment
Entry level plans Limited space for small sites Shared resources for low traffic
Business growth plans Ample space for media files Dedicated resources for faster loads
Enterprise scale plans High capacity for large databases Priority access for high traffic
WordPress managed plans Optimized space for site files Pre-configured speed for WordPress

Comparing capacity and performance for WooCommerce

WooCommerce requires high server speed to cache product queries and process orders without delays. You must check the post_max_size php.ini directive, as according to WordPress.org, the limit on the entire size of a request that can be sent from the web server to PHP for processing can be configured using the post_max_size php.ini directive. The php.ini is a configuration file used to set rules for how the server processes website code. This setting determines if your shop can handle large file uploads or complex checkouts.

Use hosting staging to test site

When you transfer wordpress hosting, you should use hosting staging to test the site before going live. This allows you to restore the site to a previous state if the migration fails. You must ensure the new host can queue tasks and compare windows with linux hosting without delaying the user experience.

Hosting staging allows you to test your site before the move

Hosting staging is a private copy of your website hosted on a separate server. It allows you to view and test the site's functionality without affecting the live version. This ensures your site works perfectly on the new server before you point your domain name to it.

What steps ensure a seamless move to new hosting

A migration fails when the source server reaches its processing capacity during a file transfer. The PHP process saturates the CPU, causing the script to time out before the data finishes moving. To avoid this, users should audit the current server limits before starting.

The limit on the size of individual file uploads can be configured using the upload_max_filesize php.ini directive, according to WordPress.org. Before you begin, you should test wordpress hosting support before signing up to determine if the site can move in one piece or requires a split migration.

Sequential migration checklist

  1. Backs up the entire WordPress database and all media files to a local directory.
  2. Replicates the existing website files on a staging server to test functionality.
  3. Compiles a list of all active plugins to identify any that conflict with the new host.
  4. Configures the new environment to match the official WordPress server requirements.
  5. Executes the transfer wp hosting process by moving files to the new server.

Calculate staging and plan subscription costs

A law firm needs to migrate their client portal to a more secure hosting environment. Before proceeding, they should compare separate domain and hosting options. Suppose the law firm uses a staging environment with a $50 monthly subscription for 3 months. They also pay $100 for the standard plan for those same 3 months.

The total staging cost is $150. The total migration cost is $350.

How to handle email and data during the move?

Professional email accounts remain active because they rely on MX records and a mail server rather than the web hosting file system. You must point the MX records to the correct mail server to prevent downtime. If the new host provides email, you must migrate the mailboxes separately to preserve history.

Can I test the site before I migrate to new WordPress hosting?

You can test the site before you migrate to new wordpress hosting by using a staging environment or a temporary URL to verify functionality on the new server. This method isolates the new setup from your live traffic. You can confirm that the site works correctly before you point your domain to the new host.

Check PHP configuration and extension support

A common failure mode occurs when the new server’s PHP configuration differs from the old one. This mismatch triggers a broken layout or missing images. You will see incorrect styling or missing assets on the staging site if the new host does not support the specific PHP extensions your theme requires.

If your own site uses a custom theme with specific requirements, you are already in the second case above.

Pre-launch verification results

  • Verify that the staging site loads all CSS and JavaScript files from the new server.
  • Check that the database connection on the new host returns a success message.
  • Confirm that the wordpress hosting change does not break your contact forms.
  • Test that every link on the staging site points to the correct internal page.
  • Validate that the new server supports the official WordPress server requirements, which include HTTPS for every install, as established by the official WordPress server requirements.

Compare file size and upload limits

Suppose a veterinary practice is migrating its appointment booking system to a new host. The current file size is 200, the current limit is 128, and the new limit is 512. The oversize amount is 72. The headroom on the new host is 312.

According to WordPress.org, “WordPress recommends PHP 8.3 or greater and either MySQL 8.0 or greater or MariaDB 10.11 or greater, with HTTPS required for every install.” This means the new host must meet these specific software versions to function correctly.

Verifying file integrity before pointing the domain

Compare the file count and total size of the directory on the old server against the new server. Use a checksum tool to verify that the core files on the new host match the original source files exactly. This step ensures no data corruption occurred during the transfer.

Standard terms for site transfers

DNS Propagation
DNS propagation is the time required for internet servers to update the location of a domain name. This process can take several hours as different networks refresh their cached records.
Snapshot
Snapshot is a point-in-time copy of a server’s disk and memory state. Users take a snapshot before a migration to revert the site if a configuration fails.
Nameserver
Nameserver is a server that directs a domain name to a specific IP address. Users must point their domain to the new host by updating these records.
Migration Tool
Migration tool is a script or software that moves files and databases between hosts. These tools automate the process of moving a WordPress site to a new server.

Many users believe a manual file transfer is the safest method for a migration. However, manual transfers become riskier when a legal firm moves a site with thousands of files, as a single missed file or incorrect permission can break the site for agencies.

For most users, a migration plugin is the default choice. This method is standard unless a site requires a specific server configuration, such as a custom database engine or a dedicated IP address that a plugin cannot replicate.

How do I tell a server crash from a wp configuration error

Distinguishing a server crash from a configuration error depends on the scope of the failure. A server crash typically affects all websites hosted on the hardware, while a configuration error limits the issue to a single WordPress site. If the server fails, the hardware or virtualization layer stops responding to requests, which might prevent the site from loading or cause a 504 Gateway Timeout. To understand your options, compare free wordpress hosting and what it leaves out.

Identify .htaccess and PHP.ini configuration errors

A configuration error occurs when the WordPress files are intact, but the software cannot execute correctly. This happens if the .htaccess file contains incorrect rewrite rules or if the site outgrows shared plans and needs dedicated wordpress hosting. The maximum upload limit is the maximum size of individual files that a web server allows you to upload at one time.

If a site is too large for the new host, the php.ini file limits the size of files you can upload or process. You must check these limits to ensure the file size does not exceed the host’s allowed threshold.

Calculate monthly and annual hosting savings

A law firm needs to migrate their client portal to a more secure hosting environment. The current monthly cost is $80, and the new monthly cost is $45. The monthly saving is $35.00, which results in an annual savings of $420 after you install wordpress on hosting with a one-click installer.

Recovering from a failed WordPress migration

To recover from a failed migration, you must restore the site from a previous backup. Use the backup to overwrite the corrupted files and database entries on the new server. This process resets the environment to a functional state before the transfer began.

Follow these steps to migrate your WordPress hosting safely

Follow these steps now if you have chosen a new host and are ready to begin the migration process.

Migration checklist

  1. Identify your current site requirements. Check your current server version. Ensure it meets the requirement that WordPress.org recommends PHP 8.3 or greater and either MySQL 8.0 or greater or MariaDB 10.11 or greater.
  2. Verify your current file sizes. Check your largest media files. Confirm they are smaller than the limit on the size of individual file uploads can be configured using the upload_max_filesize php.ini directive.
  3. Confirm your total data volume. Calculate your total website size. Ensure it fits within the limit on the entire size of a request that can be sent from the web server to PHP for processing can be configured using the post_max_size php.ini directive.
  4. Ask your new provider about specifications. Contact your new hosting provider. Ask them to confirm they support the specific PHP and database versions required by WordPress.org.
  5. Validate the new hosting environment. Request a test environment from your new host. If they confirm the required versions and HTTPS support, proceed with the migration.

Frequently asked questions

How long does the actual downtime last during the final switch?
If you lower the DNS TTL a day before, most visitors reach the new server within minutes to a few hours. Keep the old site running until the change has spread, so there is no real downtime.
When does the standard migration method stop working for a site with thousands of files?
Manual file transfers become riskier for large sites because a single missed file or incorrect permission can break the site. Use a migration plugin as the default choice instead.
Why is it difficult to move a site if the source server reaches its processing capacity?
The PHP process saturates the CPU during a file transfer, causing the script to time out before the data finishes moving. Audit current server limits before you start to avoid this failure.
Which matters more for a WordPress site: server speed or storage space?
Server speed matters more than storage space for sites requiring fast load times. While storage dictates content volume, processing power determines how quickly that content appears to visitors.
Scroll to Top