$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>I just updated my SSL certificate and now my site looses formatting when|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

I just updated my SSL certificate and now my site looses formatting when

matteradmin8PV0评论

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 http instead of https – 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 @import and can't be seen in the HTML source. – BillK Commented Feb 9, 2016 at 23:11
 |  Show 1 more comment

2 Answers 2

Reset to default 0

You 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.

Post a comment

comment list (0)

  1. No comments so far