Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WordPress: Search and replace quick guide
https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
Search and Replace WordPress script
- Copy the "Search-Replace-DB-master" folder to WordPress root
- Go to domainname.com/Search-Replace-DB-master/index.php
- Replace "domainname.com" with "localhost/stagedomain"
- Click "dry run" check the results, then "live run"
- Login at wp-admin and update permalinks settings. Refresh the page and everything should work.
- Remove the "Search-Replace-DB-master" folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.