forked from LiveCarta/LiveCartaWP
22 lines
787 B
Plaintext
22 lines
787 B
Plaintext
|
|
Update wp domain names in 5 db tables:
|
|
|
|
wp_options
|
|
wp_2_options
|
|
wp_blogs
|
|
wp_domain_mapping
|
|
wp_site
|
|
|
|
|
|
update wp_options set option_value = "https://qa.lawcarta.net" where option_id = 1 limit 1;
|
|
update wp_options set option_value = "https://qa.lawcarta.net" where option_id = 2 limit 1;
|
|
|
|
update wp_2_options set option_value = "https://qa.livecarta.com" where option_id = 1 limit 1;
|
|
update wp_2_options set option_value = "https://qa.lawcarta.net/livecarta" where option_id = 2 limit 1;
|
|
|
|
update wp_blogs set domain = "qa.lawcarta.net" where blog_id = 1 limit 1;
|
|
update wp_blogs set domain = "qa.lawcarta.net" where blog_id = 2 limit 1;
|
|
|
|
update wp_domain_mapping set domain = "qa.livecarta.com" where blog_id = 2 limit 1;
|
|
|
|
update wp_site set domain = "qa.lawcarta.net" where id =1 limit 1; |