Skip to content

nativerank/safe-wp-search-replace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Safe wp search-replace

Requirements

- Wordpress by Bitnami
- WP CLI
- UpdraftPlus Wordpress backup plugin

Dry run

curl https://raw.githubusercontent.com/nativerank/safe-wp-search-replace/master/safe-wp-search-replace.sh | bash -s -- "-xyz-SEARCH SOMETHING HERE-xyz-" "-xyz-REPLACE SOMETHING HERE-xyz-"

Execute

⚠️ search and replace can be very dangerous, BUT as a safety precaution this script will take a full UpdraftPlus backup of your site before executing the search-replace command

curl https://raw.githubusercontent.com/nativerank/safe-wp-search-replace/master/safe-wp-search-replace.sh | bash -s -- "-xyz-SEARCH SOMETHING HERE-xyz-" "-xyz-REPLACE SOMETHING HERE-xyz-" --execute

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages