diff --git a/environments/local/domain_db_fix.sql b/environments/local/domain_db_fix.sql new file mode 100644 index 0000000..ffd0f55 --- /dev/null +++ b/environments/local/domain_db_fix.sql @@ -0,0 +1,14 @@ +######FOR TEST DEV ENV + +update wp_options set option_value = "http://lawcarta.loc" where option_id = 1 limit 1; +update wp_options set option_value = "http://lawcarta.loc" where option_id = 2 limit 1; + +update wp_2_options set option_value = "http://livecarta.loc" where option_id = 1 limit 1; +update wp_2_options set option_value = "http://lawcarta.loc/livecarta" where option_id = 2 limit 1; + +update wp_blogs set domain = "lawcarta.loc" where blog_id = 1 limit 1; +update wp_blogs set domain = "lawcarta.loc" where blog_id = 2 limit 1; + +update wp_domain_mapping set domain = "livecarta.loc" where blog_id = 2 limit 1; + +update wp_site set domain = "lawcarta.loc" where id =1 limit 1; diff --git a/environments/local/wp-config-local.php b/environments/local/wp-config-local.php new file mode 100644 index 0000000..70dff55 --- /dev/null +++ b/environments/local/wp-config-local.php @@ -0,0 +1,12 @@ +