Best practice for migration

These are my (manual) steps:

  1. Upload the whole installation to the server
  2. Export the database
  3. Create a new database on the server and import the previously exported database
  4. Edit the wp-config (new database credentials)
  5. Run this script to search and replace old > new URLs in the database: Database Search and Replace Script in PHP | inter.connect
  6. log in to wp-admin, check settings (WordPress Address, Site Address), save permalinks, check Bricks settings

That’s it. Sometimes it’s not possible to login directly due to some strange redirect issues - if it doesn’t work, I follow these steps: https://wordpress.org/support/article/changing-the-site-url/

I’ve never used a migration tool for this task :sweat_smile:

5 Likes