Posted on

Update WordPress database urls via SSH

ssh username@somedomain.com
cd public_html
wp search-replace https://oldurl.com https://newurl.com --all-tables --precise