Update v-clone-website

This commit is contained in:
isscbta 2023-04-09 00:17:27 +02:00 committed by GitHub
commit e2fcade5bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -434,6 +434,9 @@ else
sudo -H -u$TO_USER wp search-replace "/home/$FROM_USER/" "/home/$TO_USER/" --precise --all-tables --skip-columns=guid
fi
sudo -H -u$TO_USER wp cache flush
cd $TO_FOLDER
sudo -H -u$TO_USER wp config shuffle-salts WP_CACHE_KEY_SALT --force
sudo -H -u$TO_USER wp config shuffle-salts
fi
echo "===== DONE ===="