admin管理员组

文章数量:1335895

I have migrated Wordpress site to EC2. Domain changes done in wp-config.php & in DB tables Also set AllowOverride All in Apache sites default conf.

Issue is: Even though nowhere I'm using force SSL, still, on page load all assets are loaded with https. Since, I dont have SSL certificate active, all those resource show ERR_CONNECTION in Browser Console. As a result, The Pages also do not render properly

I have migrated Wordpress site to EC2. Domain changes done in wp-config.php & in DB tables Also set AllowOverride All in Apache sites default conf.

Issue is: Even though nowhere I'm using force SSL, still, on page load all assets are loaded with https. Since, I dont have SSL certificate active, all those resource show ERR_CONNECTION in Browser Console. As a result, The Pages also do not render properly

Share Improve this question asked May 27, 2020 at 12:00 ShaileshShailesh 217 bronze badges 0
Add a comment  | 

1 Answer 1

Reset to default 0

The Reason for the Issue was https-redirection plugin. I wasnt aware there was https-redirection plugin installed. So, even though i checked wp-config.php & .htaccess for SSL redirects, the plugin was forcing SSL for CSS/JSS/images.

I renamed the plugin folder and everything is proper now.

sudo mv /var/www/html/wp-content/plugins/https-redirection /var/www/html/wp-content/plugins/STOP-https-redirection

本文标签: sslWhy does Wordpress uses HTTPS for JSCSS on EC2