mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 05:44:07 -07:00
Update v-clone-website
This commit is contained in:
parent
e2fcade5bb
commit
2fae00ae7d
1 changed files with 0 additions and 6 deletions
|
@ -420,12 +420,6 @@ if [ $IT_IS_WP -eq 0 ]; then
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
cd $TO_FOLDER
|
cd $TO_FOLDER
|
||||||
if [ -d "wp-content/plugins/w3-total-cache" ]; then
|
|
||||||
rm -f wp-content/object-cache.php
|
|
||||||
rm -f wp-content/db.php
|
|
||||||
rm -f wp-content/advanced-cache.php
|
|
||||||
rm -rf wp-content/w3tc-config
|
|
||||||
rm -rf wp-content/plugins/w3-total-cache
|
|
||||||
fi
|
fi
|
||||||
echo "=== Replacing $FROM_DOMAIN to $TO_DOMAIN in database $TO_DATABASE_NAME"
|
echo "=== Replacing $FROM_DOMAIN to $TO_DOMAIN in database $TO_DATABASE_NAME"
|
||||||
sudo -H -u$TO_USER wp search-replace "$FROM_DOMAIN" "$TO_DOMAIN" --precise --all-tables --skip-columns=guid
|
sudo -H -u$TO_USER wp search-replace "$FROM_DOMAIN" "$TO_DOMAIN" --precise --all-tables --skip-columns=guid
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue