=== WV Verhuizer ===
Contributors: websiteverbeteraar
Tags: migration, migrate, staging, clone, move site
Requires at least: 5.6
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.3.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Move a complete WordPress site from staging to your client's hosting with one installer file. Database, WordPress, themes, plugins and uploads.

== Description ==

WV Verhuizer packs your entire WordPress site into one archive plus one `installer.php`. Upload both to the new hosting, open the installer and follow five steps. Everything is adjusted automatically.

Available in English and Dutch. The installer uses the language of the staging site, with a switch to English.

**What the installer does for you**

* Checks PHP, extensions, disk space and whether the archive was uploaded completely.
* Extracts the files in small steps, so large sites never time out.
* Imports the database, also with a different table prefix. Collations are fixed automatically for older MySQL/MariaDB servers.
* Replaces URLs and server paths everywhere: plain text, serialized data (lengths are recalculated), JSON (`http:\/\/…`, used by page builders such as Elementor) and URL-encoded values.
* Writes `wp-config.php` with the new database details, fresh security keys, `WP_DEBUG` off and the environment set to production.
* Writes `.htaccess` with the right RewriteBase and keeps the host's own rules (for example the PHP version selected in cPanel). Password protection from staging is removed.
* Turns search engine visibility back on, can create an administrator or reset a password, and deactivates plugins you choose.
* Moves the host's placeholder `index.html` aside and clears caches (transients, rewrite rules, Elementor CSS).
* Deletes itself, the archive and its working folder when done. If that is not possible it locks itself.

**Receiving a site**

Install WV Verhuizer on an empty WordPress at the new host and create a one-time receive key. A staging site with WV Verhuizer Pro can then send the package straight to this site, without FTP. Receiving is always free.

**Free version**

* Complete migrations of sites up to 1 GB.
* One package at a time.
* All tables of this WordPress and all files are included. Caches, backups of other plugins, log files and transients are skipped automatically.

**Plus & Pro (paid add-on)**

* Plus: no size limit, multiple packages, choose tables, folders and file types yourself.
* Pro: everything in Plus, plus sending the package directly to a new WordPress site or via FTP, FTPS or SFTP.
* Agency: Pro for 10 websites.

More information: [websiteverbeteraar.com/wv-verhuizer](https://websiteverbeteraar.com/wv-verhuizer/)

**Privacy**

This plugin does not contact any external service. Packages are stored in `wp-content/wv-verhuizer-pakketten/`, protected against direct access and with random file names. The installer is protected with a password.

== Installation ==

1. Install and activate WV Verhuizer on the staging site.
2. Go to **WV Verhuizer** and click **Create package**.
3. Download the installer and the archive.
4. Create an empty database at the new host.
5. Upload both files to the (empty) web folder of the domain, for example `public_html`.
6. Open `https://domain.com/installer.php` and follow the steps.

== Frequently Asked Questions ==

= Do I need to delete anything after the migration? =

No. The installer removes itself, the archive and its working folder. If that is not allowed on the server it locks itself and tells you which files to delete via FTP.

= Is multisite supported? =

No, WV Verhuizer moves single WordPress sites.

= What happens to the package on staging? =

It stays in `wp-content/wv-verhuizer-pakketten/` until you delete it. It contains your complete site including the database, so delete it once the migration is done.

== Changelog ==

= 1.3.0 =
* Translation ready: English source text with a Dutch translation included.
* The installer uses the language of the staging site, with a switch to English.
* Locale-aware number formatting in the installer.

= 1.2.0 =
* Free version: complete migrations up to 1 GB, one package at a time.
* Hooks for the WV Verhuizer Plus & Pro add-on.
* Sending packages moved to the Pro add-on; receiving stays free.

= 1.1.0 =
* Receive a site directly on a new WordPress install with a one-time key.
* Installer: automatic login from the receiving site, database details taken from an existing wp-config.php.

= 1.0.0 =
* First release.
