diff --git a/devops/domain_db_fix.txt b/devops/domain_db_fix.txt new file mode 100644 index 0000000..06a9f56 --- /dev/null +++ b/devops/domain_db_fix.txt @@ -0,0 +1,22 @@ + +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; \ No newline at end of file diff --git a/environments/qa/wp-config-local.php b/environments/qa/wp-config-local.php index 98ea958..da2e00d 100644 --- a/environments/qa/wp-config-local.php +++ b/environments/qa/wp-config-local.php @@ -2,7 +2,7 @@ define( 'DB_NAME', 'WordPress' ); define( 'DB_USER', 'wpuser' ); -define( 'DB_PASSWORD', '9cL?at5gPB6Ejr&t' ); +define( 'DB_PASSWORD', '?aeB366Er81t9Fc4' ); define( 'DB_HOST', 'localhost' ); define('DOMAIN_CURRENT_SITE', 'qa.lawcarta.net'); diff --git a/htdocs/wp-content/themes/lawcarta/footer.php b/htdocs/wp-content/themes/lawcarta/footer.php index 98caf92..abdae8b 100644 --- a/htdocs/wp-content/themes/lawcarta/footer.php +++ b/htdocs/wp-content/themes/lawcarta/footer.php @@ -14,7 +14,7 @@ require_once 'inc/walker-nav-menu.php'; Privacy Policy Terms of Use Contact Us - FAQ + FAQs
Product
@@ -29,7 +29,7 @@ require_once 'inc/walker-nav-menu.php';
Contact
Contact Us - FAQ + FAQs
Follow Us
diff --git a/htdocs/wp-content/themes/lawcarta/page_fac.php b/htdocs/wp-content/themes/lawcarta/page_fac.php index 24883ba..b91ba10 100644 --- a/htdocs/wp-content/themes/lawcarta/page_fac.php +++ b/htdocs/wp-content/themes/lawcarta/page_fac.php @@ -45,7 +45,7 @@ if ($tIds !== false) {
diff --git a/htdocs/wp-content/themes/lawcarta/single-fac_category_answer.php b/htdocs/wp-content/themes/lawcarta/single-fac_category_answer.php index e91e020..462c5ad 100644 --- a/htdocs/wp-content/themes/lawcarta/single-fac_category_answer.php +++ b/htdocs/wp-content/themes/lawcarta/single-fac_category_answer.php @@ -23,7 +23,7 @@ $post = $posts[0];
diff --git a/htdocs/wp-content/themes/livecarta/footer.php b/htdocs/wp-content/themes/livecarta/footer.php index 2ef0c44..2272318 100644 --- a/htdocs/wp-content/themes/livecarta/footer.php +++ b/htdocs/wp-content/themes/livecarta/footer.php @@ -8,7 +8,7 @@ Privacy Policy Terms of Use Contact Us - FAQ + FAQs
Product
@@ -23,7 +23,7 @@
Contact
Contact Us - FAQ + FAQs
Follow Us