forked from LiveCarta/LiveCartaWP
https to http for staging
This commit is contained in:
14
environments/staging/http_domain_db_fix.sql
Normal file
14
environments/staging/http_domain_db_fix.sql
Normal file
@@ -0,0 +1,14 @@
|
||||
######FOR TEST STAGING ENV
|
||||
|
||||
update wp_options set option_value = "http://staging-law.carta.live" where option_id = 1 limit 1;
|
||||
update wp_options set option_value = "http://staging-law.carta.live" where option_id = 2 limit 1;
|
||||
|
||||
update wp_2_options set option_value = "http://staging-live.carta.live" where option_id = 1 limit 1;
|
||||
update wp_2_options set option_value = "http://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;
|
||||
@@ -15,7 +15,7 @@ define('LAWCARTA_WP_REST_API_RESPONSE_URL', 'https://app-staging-law.carta.live/
|
||||
|
||||
define('LAWCARTA_ENVIRONMENT_NAME', 'staging');
|
||||
|
||||
$_SERVER['HTTPS'] = 'On';
|
||||
//$_SERVER['HTTPS'] = 'On';
|
||||
|
||||
//S3 uploads settings
|
||||
define( 'S3_UPLOADS_BUCKET', 'law-carta-staging-wp' );
|
||||
|
||||
Reference in New Issue
Block a user