Skip to content

Shiftora Pro is free. Pull or push everything: database, media, plugins, themes and must-use plugins.

Get Pro For Free
Get Pro For Free Sign in

How to Move a Large WordPress Site Without Timeouts

Guide 5 min read

To move a large WordPress site without timeouts, let the transfer run in chunks instead of one long request, move the media library in its own run and check the PHP and web server limits on both servers before you start. Shiftora has no size cap of its own, so the real limits are your hosting’s disk, memory and execution time.

Measure before you move

Start with numbers. Record the database size, the number of tables and the largest tables, which are often postmeta, options or a log table. Record the media library size and the number of files. A large media library with thousands of small files takes longer than a few big ones, even at the same total size.

Look for tables you do not need on the destination, such as old audit logs, form entries you have already exported or cache tables. Shiftora lets you choose which tables move, so you can leave these out. Do not leave out a table that a plugin still reads.

Steps

  1. Note the four PHP limits on the destination: memory_limit, max_execution_time, upload_max_filesize and post_max_size. Then check the web server’s request body limit, which is client_max_body_size on nginx and LimitRequestBody on Apache.
  2. Clean up what you can on the source. Remove spam comments, expired transients and old revisions if your site keeps many of them. Smaller tables finish sooner.
  3. Install the free Shiftora plugin on both sites and pair them with the “Connection Info” line.
  4. Choose the tables. Untick the log and cache tables you decided to leave out. All other tables stay ticked, and Shiftora’s own tables are never sent.
  5. Move the media library in a separate run from the database. If a media transfer stalls, the database run is not affected, and you can resume each one on its own.
  6. Start the database run and close the tab. The job runs in chunks through Action Scheduler, so it keeps going. Watch the log.
  7. If a chunk fails, read the log entry before you resume. A memory or time limit usually shows in the log for the table that was running. Raise the limit on the destination, then resume. The pipeline is resumable, so you do not restart from zero.
Shiftora live progress screen during a migration
Live progress with per-stage detail. Close the tab; the migration keeps running.
  1. For a dump that is bigger than the upload limit, use Shiftora Pro’s chunked, resumable SQL import, or its WP-CLI commands for find and replace on the command line. Both need Pro, which is documented at https://shiftora.devsync-agency.com/why-upgrade/.
  2. After the run, compare row counts for the largest tables on both sides with a database tool. Spot check a few posts, a few media files and a page built with a page builder.
  3. Check the destination after the move. Look at disk usage, the cron schedule and the cache. A cache warm-up after a large move keeps the first visitors from waiting on a cold site.

Plan the run in stages

Break the job into stages you can check: the database in one run, the media in another, and the theme and plugin copy in a third. Each stage has its own log, so a fault in one does not force you to repeat the others. Start with the smallest stage, so you can confirm the settings before the large run starts. The pipeline is resumable, so a stopped stage picks up where it stopped.

Check the limits at both ends

A limit on the source can stop a job too, since the source has to answer every chunk request in time. Check the source host’s request timeouts and its web server limits as well as the destination’s. Shiftora’s free plugin, at https://wordpress.org/plugins/shiftora/, has no size cap of its own, so these host numbers decide the outcome. The Shiftora documentation at https://shiftora.devsync-agency.com/documentation/ covers the progress screen and the log for each run.

Recover from a failed chunk

A failed chunk is not a failed migration. Open the log entry, find the table and the limit it hit, and fix that one thing. Then resume, and check that the row counts for that table match the source once it finishes. Do not start a new run from zero unless the log shows the destination data is corrupt. Restarting from zero costs hours on a large site, and the resume exists so you do not pay that cost.

Check the destination’s disk first

A large move can fill the disk before it hits a limit. Check free space on the destination for the database, the media library and any backups you take during the run. A restore point or a manual database backup takes space too. A run that stops on a full disk can look like a timeout, so check the disk before you raise any other limit.

FAQ

Is there a file size limit in Shiftora?
Shiftora does not impose a size cap of its own. Your host’s disk, memory, execution time and request limits decide how large a site can move.

My pull keeps stopping at the same table. What do I check?
Read the log entry for that table, then check the PHP memory limit, the execution time and the web server’s request body limit on the destination. Fix the limit that the log points to, then resume.

Should I leave log tables out of a large move?
Leave them out only if you do not need them on the destination. Export anything you want to keep first, because a skipped table is not on the new site.

Next step: write down the four PHP limits and the web server limit on the destination before you schedule the move.

Get Shiftora Pro For Free

Pro is free while we launch. Confirm your email and we send the download and your license key.

No card needed. Your license arrives by email right after you confirm.