Change Wordpress site url from MySQL cli

 SELECT * from wp_options WHERE option_name = 'home' OR option_name = 'siteurl';

UPDATE wp_options SET option_value = 'https://servername.com/' WHERE option_name = 'home' OR option_name = 'siteurl';
Share on Google Plus

About Md. Shahzad Alam

I am a passionate cloud and DevOps professional specializing in Linux and open-source solutions. Through this blog, I share my knowledge and experience with the community, offering tips and insights on cloud technologies and DevOps practices.
    Blogger Comment

0 comments:

Post a Comment