This file contains 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
# Commands for updating the WordPress database for a migration | |
# from a flat WordPress install to a Bedrock install | |
wp search-replace /wp-content /app --all-tables | |
wp search-replace /wp-admin /wp/wp-admin --all-tables | |
wp search-replace /wp-login.php /wp/wp-login.php --all-tables | |
wp search-replace /xmlrpc.php /wp/xmlrpc.php --all-tables | |
# Chained Commands | |
wp search-replace /wp-content /app --all-tables && wp search-replace /wp-admin /wp/wp-admin --all-tables && wp search-replace /wp-login.php /wp/wp-login.php --all-tables && wp search-replace /xmlrpc.php /wp/xmlrpc.php --all-tables |