Our thinking

SQL Generator Tool for WordPress Migrations

9 December 2013

I often find myself writing out the same SQL queries after migrating a WordPress site, or setting up a new development site. So I wrote this tool to generate the SQL code, and I thought I’d share it. Just enter the table prefix (which should be found in your wp-config.php file) and the old and new URLs below, and we’ll generate the SQL for you!

Table prefix
Old URL
New URL