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 01 Answer
Reset to default 0The 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
版权声明:本文标题:ssl - Why does Wordpress uses HTTPS for JS, CSS on EC2 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742396669a2467064.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论