admin管理员组文章数量:1130349
Ever Since I update my SSL certificate, my site will not open properly unless I do not "not secure" the connection. If secured, the page looses all formatting. I believe my SSL is not properly setup. Is this true? Please help!
Ever Since I update my SSL certificate, my site will not open properly unless I do not "not secure" the connection. If secured, the page looses all formatting. I believe my SSL is not properly setup. Is this true? Please help!
Share Improve this question edited Feb 10, 2016 at 0:00 fuxia♦ 107k39 gold badges255 silver badges461 bronze badges asked Feb 9, 2016 at 18:49 Homero MirandaHomero Miranda 174 bronze badges 6 | Show 1 more comment
2 Answers
Reset to default 0You could also add some rules to your .htaccess file to rewrite all http:// URLs to https://
This article from CSS Tricks explains what else you can do to move a WordPress site completely to https://
Many of the files you are including on your page are being called using http rather than https. It is likely that this is causing your problem.
If you want to test this before changing all your code, try copying the source code from your home page into a blank HTML file that you create in your root folder (e.g. test.html). Next, go through the HTML code for test.php and change every reference to http:// to https:// and save.
Load the file using https in your browser.
https://www.golocalexpert/test.php
If this is the problem, then this page should load properly. Now all you have to do is change your website code to render the page this way.
Ever Since I update my SSL certificate, my site will not open properly unless I do not "not secure" the connection. If secured, the page looses all formatting. I believe my SSL is not properly setup. Is this true? Please help!
Ever Since I update my SSL certificate, my site will not open properly unless I do not "not secure" the connection. If secured, the page looses all formatting. I believe my SSL is not properly setup. Is this true? Please help!
Share Improve this question edited Feb 10, 2016 at 0:00 fuxia♦ 107k39 gold badges255 silver badges461 bronze badges asked Feb 9, 2016 at 18:49 Homero MirandaHomero Miranda 174 bronze badges 6
-
How are you loading your css? It is likely that css/js is using
httpinstead ofhttps– czerspalace Commented Feb 9, 2016 at 18:50 - Oh ok. How would you go about fixing this issue? would you need to go into each individual file? – Homero Miranda Commented Feb 9, 2016 at 18:55
- How are you loading your css? – czerspalace Commented Feb 9, 2016 at 19:45
- Also, is the url in your site options set to http or https? – czerspalace Commented Feb 9, 2016 at 22:46
-
This link will scan your site for non https requests: https://www.jitbit/sslcheck/. It has saved me a lot of time, especially when resources are loaded via JavaScipt or
@importand can't be seen in the HTML source. – BillK Commented Feb 9, 2016 at 23:11
2 Answers
Reset to default 0You could also add some rules to your .htaccess file to rewrite all http:// URLs to https://
This article from CSS Tricks explains what else you can do to move a WordPress site completely to https://
Many of the files you are including on your page are being called using http rather than https. It is likely that this is causing your problem.
If you want to test this before changing all your code, try copying the source code from your home page into a blank HTML file that you create in your root folder (e.g. test.html). Next, go through the HTML code for test.php and change every reference to http:// to https:// and save.
Load the file using https in your browser.
https://www.golocalexpert/test.php
If this is the problem, then this page should load properly. Now all you have to do is change your website code to render the page this way.
本文标签: I just updated my SSL certificate and now my site looses formatting when
版权声明:本文标题:I just updated my SSL certificate and now my site looses formatting when 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749087396a2313989.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


httpinstead ofhttps– czerspalace Commented Feb 9, 2016 at 18:50@importand can't be seen in the HTML source. – BillK Commented Feb 9, 2016 at 23:11