Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
WordPress: Search and replace quick guide
Search and Replace WordPress script
- Copy the "Search-Replace-DB-master" folder to WordPress root
- Go to
- Replace "" 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.