title: Wordpress on AWS ELB errors 302
body: <p>I am in the process of moving my EC2 web hosting environment to ELB. Static webpages work perfectly, but Wordpress sites (multisite) loops with 302.</p>
  
  <p>Apache log reports that "GET /" but the hosting folder for Wordpress is "GET /wp/".</p>
  
  <p>See curl: </p>
  
  <pre><code> curl -v -k -H "Host: example.com" myELB.eu-west-1.elb.amazonaws.com/
  * Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
  &lt; HTTP/2 301 
  &lt; date: Wed, 03 Jun 2020 09:13:12 GMT
  &lt; content-type: text/html; charset=UTF-8
  &lt; content-length: 0
  &lt; location: https://example.com/
  &lt; server: Apache/2.4.29 (Ubuntu)
  &lt; x-redirect-by: WordPress
  &lt; 
  * Connection #0 to host myELB.eu-west-1.elb.amazonaws.com/ left intact
  * Closing connection 0
  </code></pre>
  
  <p>Any suggestions?</p>