diff --git a/environments/new_prod/domain_db_fix.sql b/environments/new_prod/domain_db_fix.sql new file mode 100644 index 0000000..7a137c9 --- /dev/null +++ b/environments/new_prod/domain_db_fix.sql @@ -0,0 +1,14 @@ +######FOR TEST PROD ENV + +update wp_options set option_value = "https://lawcarta.com" where option_id = 1 limit 1; +update wp_options set option_value = "https://lawcarta.com" where option_id = 2 limit 1; + +update wp_2_options set option_value = "https://livecarta.com" where option_id = 1 limit 1; +update wp_2_options set option_value = "https://lawcarta.com/livecarta" where option_id = 2 limit 1; + +update wp_blogs set domain = "lawcarta.com" where blog_id = 1 limit 1; +update wp_blogs set domain = "lawcarta.com" where blog_id = 2 limit 1; + +update wp_domain_mapping set domain = "livecarta.com" where blog_id = 2 limit 1; + +update wp_site set domain = "lawcarta.com" where id =1 limit 1; diff --git a/environments/new_prod/http_domain_db_fix.sql b/environments/new_prod/http_domain_db_fix.sql new file mode 100644 index 0000000..b069744 --- /dev/null +++ b/environments/new_prod/http_domain_db_fix.sql @@ -0,0 +1,14 @@ +######FOR TEST PROD ENV + +update wp_options set option_value = "http://lawcarta.com" where option_id = 1 limit 1; +update wp_options set option_value = "http://lawcarta.com" where option_id = 2 limit 1; + +update wp_2_options set option_value = "http://livecarta.com" where option_id = 1 limit 1; +update wp_2_options set option_value = "http://lawcarta.com/livecarta" where option_id = 2 limit 1; + +update wp_blogs set domain = "lawcarta.com" where blog_id = 1 limit 1; +update wp_blogs set domain = "lawcarta.com" where blog_id = 2 limit 1; + +update wp_domain_mapping set domain = "livecarta.com" where blog_id = 2 limit 1; + +update wp_site set domain = "lawcarta.com" where id =1 limit 1; diff --git a/environments/new_prod/wp-config-local.php b/environments/new_prod/wp-config-local.php new file mode 100644 index 0000000..2f45cc0 --- /dev/null +++ b/environments/new_prod/wp-config-local.php @@ -0,0 +1,30 @@ +