Migrate WordPress without a plugin
You can move a WordPress site without a migration plugin. You copy the files and the database, then tell WordPress where its new database is. It takes longer than a plugin, but it works on any host that gives you file and database access.
The steps follow the WordPress developer documentation, checked on 24 November 2026.
What you need
- Access to the files at the old and the new host: FTP, SFTP or a file manager in the hosting dashboard.
- Access to the databases: phpMyAdmin or the database tool of each host.
- A new, empty database at the new host, with its name, user and password.
Step 1: download the files
Download the whole WordPress folder from the old host: themes, plugins, uploads and wp-config.php. The docs say to begin "by backing up your WordPress directory, images, plugins, and other files".
Step 2: export the database
In phpMyAdmin or the database tool of your old host, export the database of the site as a .sql file.
Step 3: upload the files and import the database
Upload the files to the new host. Then import the .sql file into the new, empty database.
Step 4: point wp-config.php at the new database
Open wp-config.php at the new host and put in the name, user and password of the new database. The docs: "If database name or user changes, edit wp-config.php to have the correct values."
define( 'DB_NAME', 'new_database' ); define( 'DB_USER', 'new_user' ); define( 'DB_PASSWORD', 'new_password' ); define( 'DB_HOST', 'localhost' );
Your new host tells you the database host. On many hosts it is localhost.
Step 5: if the address changes, replace it in the database
If the site keeps the same domain, skip this step. If the address changes, the old one is still all over the database. Do not change it with a plain find and replace: WordPress stores some settings as serialized data, and that breaks them.
WP-CLI does it safely. Run it first with --dry-run. That shows what would change and saves nothing:
wp search-replace 'https://old-domain.com' 'https://yourdomain.com' --skip-columns=guid --dry-run
If the report looks right, run the same line without --dry-run. --skip-columns=guid leaves the guid column alone. The docs are clear about it: "Never, ever, change the contents of the GUID column, under any circumstances."
No WP-CLI at your host? The docs name the Better Search Replace plugin for the same job.
Step 6: test, then switch the domain
Open the site at the new host before you change DNS, with the hosts file line from Move WordPress without downtime. If posts give a 404 error, open Settings, then Permalinks in wp-admin. Opening that screen rebuilds the address rules.
Or let a plugin do it
A migration plugin does steps 1 to 5 for you. PanelAlpha Migrator is free: you install it on both sites and the old site sends everything to the new one, the address change included.