Skip to main content
  1. All Posts/


Tools Open Source PHP WordPress

WordPress Domain Changer

A stand-alone tool that helps ease the migration of WordPress sites from one domain/URL to another.


  1. Backup your WordPress site’s database.
  2. Seriously, Back Up Your Database!
  3. Situation One: The WordPress files and database have not moved — only the domain/URL has changed.
    • Skip to step 5.
  4. Situation Two: You intend to move an existing WordPress site to a new server.
    1. Export the current WordPress database to a SQL dump file.
    2. Create a MySQL database on the new server and import the SQL dump file.
    3. Open up the WordPress wp-config.php file and set the DB_HOST, DB_USER, DB_PASSWORD, and DB_NAME constants to the correct values for the new server.
    4. Upload the WordPress files to the appropriate directory on the new server.
  5. Open up the wpdc/config.php file and replace the default password with a VERY secure password of your choice.
  6. Upload the wpdc/ directory itself to the root directory of your WordPress site.
    • Note: The root directory is where the wp-config.php file is located.
  7. Open a web browser and navigate to:
  8. Login with the password you entered in Step 6.
  9. Follow the on-screen instructions & steps.
  10. Remove the wpdc/ directory from the server when you’re finished.


Blog Post & Overview


WordPress Domain Changer is released under the New BSD license.


Daniel Doezema