diff --git a/environments/staging/domain_db_fix.sql b/environments/staging/domain_db_fix.sql new file mode 100644 index 0000000..1e844a5 --- /dev/null +++ b/environments/staging/domain_db_fix.sql @@ -0,0 +1,14 @@ +######FOR TEST STAGING ENV + +update wp_options set option_value = "https://staging-law.carta.live" where option_id = 1 limit 1; +update wp_options set option_value = "https://staging-law.carta.live" where option_id = 2 limit 1; + +update wp_2_options set option_value = "https://staging-live.carta.live" where option_id = 1 limit 1; +update wp_2_options set option_value = "https://staging-law.carta.live/livecarta" where option_id = 2 limit 1; + +update wp_blogs set domain = "staging-law.carta.live" where blog_id = 1 limit 1; +update wp_blogs set domain = "staging-law.carta.live" where blog_id = 2 limit 1; + +update wp_domain_mapping set domain = "staging-live.carta.live" where blog_id = 2 limit 1; + +update wp_site set domain = "staging-law.carta.livem" where id =1 limit 1; diff --git a/environments/staging/wp-config-local.php b/environments/staging/wp-config-local.php new file mode 100644 index 0000000..0833067 --- /dev/null +++ b/environments/staging/wp-config-local.php @@ -0,0 +1,18 @@ +