503 error when running WordPress on AWS EC2 ELB SSL 503 error when running WordPress on AWS EC2 ELB SSL wordpress wordpress

503 error when running WordPress on AWS EC2 ELB SSL


In your .htaccess file in your Wordpress root directory, have you tried to add in

<IfModule mod_setenvif.c>  SetEnvIf X-Forwarded-Proto "^https$" HTTPS</IfModule><IfModule mod_rewrite.c>  RewriteEngine on  RewriteCond %{HTTP:X-Forwarded-Proto} ^http$  RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]</IfModule>

Also make sure that in your wp_options table that you have siteurl set to https:// and home is set to https://