Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.08 KB

README.md

File metadata and controls

29 lines (21 loc) · 1.08 KB

wp-update-urls

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

  1. Download from GitHub

  2. Upload wp-update-urls.php to your WordPress installation directory. This is where the wp-config.php file lives.

  3. Browse the wp-update-urls.php script 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: Screenshot

  4. Check that the replace field shows the new base URL for your site. Bear in mind that http://www.yoursite.com is not the same as http://yoursite.com.

  5. Click on 'Process' to replace all occurrences of search with replace in the database.

  6. DELETE SCRIPT FROM SERVER