Has anyone with a WP multisite been through this process? I have created the Load Balancer and have a domain (one of the multisite sites) on an EC2 instance.
My load balancer setup looks like this:
Going to just times out and going to just ignores the SSL request. Is there a step I'm missing? Maybe something in httpd.conf or wp-config?
I'm sure someone has gone through something similar, it would help us all dealing with such an issue. I feel like going with WPEngine would've made much more sense than AWS for an simple WP site :(
Has anyone with a WP multisite been through this process? I have created the Load Balancer and have a domain (one of the multisite sites) on an EC2 instance.
My load balancer setup looks like this:
Going to https://foobar just times out and going to https://www.foobar just ignores the SSL request. Is there a step I'm missing? Maybe something in httpd.conf or wp-config?
I'm sure someone has gone through something similar, it would help us all dealing with such an issue. I feel like going with WPEngine would've made much more sense than AWS for an simple WP site :(
Share Improve this question asked Dec 30, 2019 at 15:37 adriftadrift 11 bronze badge 1- What are you trying to accomplish? Do these URLs work without the balancers? Are you trying to put different domains on different boxes? Why? – John Dee Commented Dec 30, 2019 at 19:21
1 Answer
Reset to default 0I am familiar with this situation ... I got out of it like this ... To begin with, in the .htaccess file that lies at the root of the site of your hosting provider - I registered it. At the very end of the file.
# END WordPress
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?yoursite\$ [NC]
RewriteCond %{HTTP:X-Forwarded-Proto} !=https
RewriteRule ^(.*) https://yoursite/$1 [R=301,L]
Then I installed the plugin: SSL Insecure Content Fixer. And set the settings in it to “Capture everything” - saved. For two weeks I drove the site with the plugin turned on. Then I deactivated the plugin. And everything became good!
Here is my working example