Last active
June 29, 2017 23:14
-
-
Save lucas-pelton/764e811104c1c4f19ed0a1d79fbcd19b to your computer and use it in GitHub Desktop.
Search and replace for Wordfence WAF after CloudWays site clone
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -type f -name "wordfence-waf.php" -exec sed -i 's/[0-9\-]*.cloudwaysapps.com/NEW.cloudwaysapps.com/g' {} + | |
find . -type f -name ".user.ini" -exec sed -i 's/[0-9\-]*.cloudwaysapps.com/NEW.cloudwaysapps.com/g' {} + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment