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
demandé il y a 10 mois376 vues
1 réponse
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
répondu il y a 10 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions