Sitemigra – Simply Migrate & Move Your Site, No Size Limit

Description

Sitemigra is for people who just want their site to work on the new hosting, without reading manuals. What makes it different:

  • No size limit, for free. Sites of tens of GB and hundreds of thousands of files are fine. There is no paid add-on to unlock bigger sites.
  • Upload over FTP, not through the browser. You never hit the upload limit of your hosting, because nothing large is uploaded through a web form.
  • Built for cheap shared hosting. Work is split into short steps with pauses. When the server struggles, Sitemigra slows down by itself. If the page is closed or the connection drops, it continues where it stopped.
  • Fixes common hosting problems for you. Missing PHP extensions, old database versions, small database packet limits or a broken .htaccess are detected and handled automatically.
  • A guide that anyone can follow. Plain words, one summary sentence per screen, technical details hidden unless you want them.
  • Ready for your language. The installer speaks English, Czech, German, Polish, Spanish, Russian and French. The plugin interface is fully translatable; Czech, German, Polish, Spanish, Russian and French translations will come through translate.wordpress.org.

How it works

  1. Install Sitemigra on the old site and click Create package. You get two files: a ZIP archive and an installer.
  2. Download both files (one click on Download both files) and upload them over FTP to the folder of the new site. Do not unpack anything.
  3. Create an empty database on the new hosting – or use the existing one: if the folder already contains a wp-config.php, the installer can take the database access from it.
  4. Open the installer in your browser, for example https://new-domain.com/xxxx-installer.php, and enter the database details.
  5. The installer unpacks the site and replaces the old address with the new one everywhere.
  6. Log in to the new site. The installer, the archive and all helper files delete themselves.

The old site keeps running the whole time. Nothing changes on it.

Move WordPress to a new host or change the domain

Use Sitemigra when you:

  • move your WordPress site to a new hosting or server,
  • change the domain name (also from http to https, with or without www, or from a subfolder to the main domain),
  • move a site from your computer (localhost) to live hosting, or back,
  • want a full manual backup of files and database that you can restore with the installer.

The installer replaces the old address in all settings and content, including serialized data, so widgets, page builder layouts and theme options keep working. After the import it checks that every database table has the same number of rows.

Features

  • Whole site (files and database) or database only.
  • Leave out folders, file types (for example mp4), files larger than a set size, or database tables.
  • Caches, backups of other plugins and temporary files are left out automatically.
  • A check before packing: server limits, free disk space, very large files, files with passwords (such as .env).
  • Three speed presets for gentle work on shared hosting, or your own values.
  • Installer options: set a new administrator password, change the table prefix, start in safe mode with all plugins turned off (only when you tick it; after login you turn them back on with one click).
  • Reuse the wp-config.php already on the new hosting, or safely overwrite a database that is not empty (clear warning and required confirmation).
  • Download both files with one click.
  • After the move the installer opens the home page and a sub-page to check that the site works.
  • Works on Apache, LiteSpeed and nginx. PHP 7.4 or newer.
  • No paid version, no account, no data sent anywhere.

What Sitemigra does not do

Sitemigra makes a package on request. It does not make scheduled backups, does not upload to cloud storage and cannot restore a site with one click inside the dashboard. Multisite networks and staging sites are not supported.

About the author

Sitemigra is made by Jarda Pajskr, a specialist in building and securing websites and web applications.

Credits

Sitemigra contains no third-party libraries. One function is derived from third-party code:

sitemigra_crc32_combine() (in `includes/sitemigra-crc32.php` and in the installer template) is a PHP port of `crc32_combine()` from zlib (crc32.c), Copyright (C) 1995-2022 Jean-loup Gailly and Mark Adler, https://zlib.net/ – used under the zlib License, which is compatible with the GPL:

This software is provided ‘as-is’, without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

Screenshots

Installation

  1. In the dashboard go to Plugins Add New, search for “Sitemigra”, install and activate it.
  2. Open Sitemigra in the left-hand menu.
  3. Click Create package and follow the three steps. Keep the window open until the package is ready.

The rest of the move (upload, database, installer) is described in How it works above and on the finished package page.

FAQ

How do I move my WordPress site to a new host?

Create a package in Sitemigra on the old site. Upload the two files to the new hosting over FTP, create an empty database there and open the installer in your browser. It sets everything up and replaces the address.

How do I change my WordPress domain?

The same way. Upload the package to the hosting of the new domain and open the installer on the new address. The installer finds the new address by itself and replaces the old one everywhere, including http https and www.

Is there a size limit?

No. The archive can be larger than 4 GB and contain more than 65,535 files (ZIP64). Big files are copied in small parts over many steps. You only need enough free disk space: about the size of the site on the old hosting and about twice the archive size on the new one.

Will it work on cheap shared hosting with timeouts?

Yes, that is what it was built for. Each step takes a few seconds and there is a pause between steps. If your hosting is very strict, choose Gentle or Very gentle in the settings. If a step fails, Sitemigra slows down and tries again. If the server keeps failing, it stops and shows a Continue button. Nothing is lost.

Do I need FTP access?

Yes, or the file manager of your hosting. You upload the two files to the new hosting yourself. This is why there is no upload limit.

What is not transferred?

Caches, backups made by other plugins, error logs, development folders (such as .git and node_modules), server settings of the old hosting (.user.ini, php.ini), database triggers and stored procedures. You can leave out more yourself.

Images or links do not work after the move. What now?

Clear the cache of your caching plugin and of your hosting. On nginx, ask the hosting to set up WordPress permalinks (Apache and LiteSpeed use .htaccess, which the installer checks). If the site shows an error, the installer offers to turn off all plugins.

Does it work on nginx?

Yes. Helper folders have random names, so the archive and the database cannot be downloaded from the web even where .htaccess does not work.

Where are the packages stored?

In the folder sitemigra inside the uploads folder of your site (usually wp-content/uploads/sitemigra). All data sits in a sub-folder with a long random secret name, and each package has its own folder with another random name, so the files cannot be found or downloaded from the web – also on servers that ignore .htaccess (nginx). Helper files cannot be read from the web at all, and the installer is stored under a name that cannot be run there. You download packages from the Sitemigra page in the dashboard; the archive can also be taken over FTP. Sitemigra never puts this folder into a package.

Is Sitemigra a backup plugin?

Partly. A package is a complete manual backup of your files and database, and you can restore it with the installer. But Sitemigra does not make scheduled backups, does not store them in the cloud and has no one-click restore in the dashboard.

Is the installer safe?

The installer name contains a random key, so nobody can guess its address. Do not share it. Only the browser window that started the installation can continue it; another window sees no details and can take over only after 15 minutes of inactivity. As soon as the installer has checked the uploaded archive, it moves it into a helper folder with a random name, so it cannot be downloaded from the site address. The installer locks itself after the installation and deletes itself, the archive and all helper files after your first login. If nobody logs in, the installer and the archive are deleted after 24 hours.

What is the file installer/installer.tpl inside the plugin?

It is the template of the standalone installer. The plugin never runs it: when a package is created, the plugin copies the template as text, fills in the package key and stores it next to the archive under a name that cannot be run (.txt); you get it as a .php file only when you download it from the dashboard. You then upload it to the new hosting, where WordPress is not installed yet. That is why the installer cannot use WordPress functions and brings its own code for reading the archive and importing the database.

What does the installer change on the new site?

It unpacks the files, imports the database, writes wp-config.php and replaces the old address with the new one. To clean up after itself it puts one small temporary file into wp-content/mu-plugins; after your first login that file deletes the installer, the archive, the helper folder and itself. Plugins are turned off only in these cases: you tick “Turn off all plugins” (safe mode) in the installer, you click the repair button the installer offers when the moved site returns an error, or you move from https to http and a plugin that forces https would lock you out. In safe mode a second temporary file in mu-plugins shows a notice with a button that turns the plugins back on, and then deletes itself. None of this happens on the old site, where the plugin is installed.

Can I install into a database that already contains a site?

Yes. The installer shows a clear warning with the tables it found. By default it deletes all tables in the database (an old WordPress on the new hosting often uses a different table prefix), or you can delete only the tables with the site’s prefix when the database is shared with another application. You must confirm the deletion first – without it the installer does not continue. Make a backup of that database first if you are not sure what is in it.

Can I keep the wp-config.php that is already on the new hosting?

Yes. If the installer finds a wp-config.php in the folder, it offers to use its database access and keep the file. The password stays on the server and the file is only read, never run. In the kept file only the site address and cache settings are adjusted.

Which PHP and WordPress versions are needed?

PHP 7.4 or newer and WordPress 6.0 or newer, on both the old and the new hosting.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Sitemigra – Simply Migrate & Move Your Site, No Size Limit” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.1

  • The plugin name now says what it does: “Sitemigra – Simply Migrate & Move Your Site, No Size Limit”. No change in function.

1.0.0

Initial release.

  • Whole site or database only, packed in short host-friendly steps that continue after an interruption.
  • No size limit: ZIP64 archives over 4 GB and with more than 65,535 files.
  • Standalone installer that replaces the old address everywhere, including serialized data, and checks the site after the move.
  • Installer in English, Czech, German, Polish, Spanish, Russian and French; translatable plugin interface.
  • Safe overwrite of a non-empty database: clear warning, choice of all tables or only the site’s prefix, required confirmation.
  • Reuse of an existing wp-config.php on the new hosting (database access read without running the file).
  • “Download both files” button.