How to change WordPress site URL and home URL using wp-cli tool
To check site url:
wp option get siteurl
To update your website’s URL:
wp option update home 'https://alltime.pp.ua' wp option update siteurl 'https://alltime.pp.ua'
This will update to MySQL records “home” and “siteurl”
To run in-deep updates read the following article:
https://alltime.pp.ua/blog/how-to-change-wordpress-main-url-to-new-one/… Read the rest