Replace Drupal development URLs with live URLs

For those of you who found our last post helpful; WordPress URL Replacement Queries for MySQL, we also often get the question about how to update URLs in Drupal after migrating from development to a live server. We feel it’s time to share a secret that will make your life a lot easier┬áthan updating each and every page, post and/or custom post in your site. The answer are these WordPress URL replacement queries for MySQL.

Simply replace the ‘ENTER DEV BASE URL’ with the base url or your development server, for example: http://localhost/ Then, replace ‘ENTER LIVE BASE URL’ with the base url to your live server, for example:

  1. You can use to do this. If configured correctly it’s transparent.

Leave a Comment