Last active
June 2, 2016 21:00
-
-
Save jasondewitt/08c234697e3428738dbf69ae9c46bb31 to your computer and use it in GitHub Desktop.
Revisions
-
Jason DeWitt revised this gist
Jun 2, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ for x in $(wp site list --fields=domain --format=csv); do if [ $x != 'domain' ]; then wp search-replace http://$x https://$x --network --url=$x fi done -
Jason DeWitt created this gist
Jun 2, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ for x in $(wp --allow-root site list --fields=domain --format=csv); do if [ $x != 'domain' ]; then wp --allow-root search-replace http://$x https://$x --network --url=$x fi done