Renewing SSL certificate w/ Bitnami in a WP Multisite, all the network is down

0

Hello everyone!

I was renewing an SSL certificate using this guide https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-enabling-https-on-wordpress

Everything went fine but upon ending, the website just completely died, saying it has been redirected too many times. The problem it brought down our entire multi site with more than 40 sites. Before doing this process I made a snapshot but I have been struggling to create a new instance and direct our Digital ocean to point to this new server. Someone recommended me to trying to rebuild the multisite network in an ec2 instance doing an sql dump and transfer of site files but have not figure out how to this process correctly. Any suggestions or diagnostic you can think of? At this point I am not able to access to the Wordpress page.

DC
asked 9 months ago363 views
1 Answer
0

You need to make sure that your site URL is HTTPS compatible in "wp-config.php" of WordPress.
Specifically, check the following settings.

define( ‘WP_HOME’, ‘https://○○○○.com’ );
define( ‘WP_SITEURL’, ‘https://○○○○.com’ );
$_SERVER[‘HTTPS’] = ‘on’;

If you cannot change the site URL in "wp-config.php", you can change it directly from the WordPress database.
Log in to the database and execute the following command.
Also, be sure to take snapshots before working with the database.

UPDATE wp_options SET option_value = 'https://○○○○.com' where option_name IN ('home','siteurl');
profile picture
EXPERT
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions