Configuring WordPress Multisite instance to work Amazon Lightsail distribution

Keywords: WordPress Multisite - AWS - How to - Other

Hi, I’m trying to configure my wordpress multisite to work with amazon lightsail distribution using this docs: Configuring your WordPress instance to work with your Amazon Lightsail distribution | Lightsail Documentation
I created a distribution and now I need to enable my instance to use : (HTTPS).
I followed all the staps but I can´t find the following lines of code: define(‘WP_SITEURL’, ‘http://’ . $_SERVER[‘HTTP_HOST’] . ‘/’);
define(‘WP_HOME’, ‘http://’ . $_SERVER[‘HTTP_HOST’] . ‘/’);

To replace using: define(‘WP_SITEURL’, ‘https://’ . $_SERVER[‘HTTP_HOST’] . ‘/’);
define(‘WP_HOME’, ‘https://’ . $_SERVER[‘HTTP_HOST’] . ‘/’);
$_SERVER[‘HTTPS’] = ‘on’;
Did you guys changed the the path to edit this files?

Hi @yoren,

The wp-config.php file is inside the /opt/bitnami/wordpress/ folder as the guide mentions but please note that the WordPress Multisite solution doesn’t define the WP_HOME and WP_SITEURL parameters due to it supports to host multiple sites. We do not have any guide to configure WordPress Multisite that way but you can ask the Lightsail team (they are the maintainers of that guide) or the WordPress support teams to know more about this.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.