mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 21:34:12 -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
|
||||
else
|
||||
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
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue