Replace WordPress development URLs with live URLs

We often get the question about how to update URLs in WordPress 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/summus.io. Then, replace ‘ENTER LIVE BASE URL’ with the base url to your live server, for example: http://summus.wpengine.com.

Leave a Comment