Standalone script used to update all URLs in a WordPress installation. This script can be very useful after you move your site to a new server or domain name, as well as when deploying a local copy of a WordPress site to a 'live' location.
How to use this script
Download from GitHub
wp-update-urls.phpto your WordPress installation directory. This is where the wp-config.php file lives.
wp-update-urls.phpscript on your browser. If your site's URL is http://yoursite.com then the URL you are looking for will be http://yoursite.com/wp-update-urls.php . At this point you should see the following:
Click on 'Process' to replace all occurrences of
replacein the database.
DELETE SCRIPT FROM SERVER