PDA

View Full Version : My vB theme is not working well with HTTPS


postcd
06-07-2016, 09:58 PM
Hello,

on my forum vb4, there is many page elements that do not load via HTTPS, even i have https set everywhere in vbulletin URL settings.

This is causing SSL mixed content error.

Into .htaccess i added:
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]

and it greatly reduced number of HTTP elements, but still there are many which im unable to spot from where they are called. Example bad ones:

/clientscript/vbulletin_css/style00001l/main-rollup.css?d=1455616245
/clientscript/vbulletin-sidebar.js?v=4110
/clientscript/vbulletin_css/style00001l/additional.css?d=1455616245
/images/misc/navbit-home.png

Please what is the way to convert theme into https?

Mattwhf
06-14-2016, 02:39 AM
Have you checked links that generated your CSS files?

If you are using https then you can need re-configure its paths.

postcd
06-28-2016, 01:14 PM
Have you checked links that generated your CSS files?
I searched in all files content, which links?

Kane@airrifle
06-28-2016, 02:34 PM
ACP/General Update, Rebuild styles should take care of that.

postcd
06-29-2016, 08:25 AM
ACP/General Update, Rebuild styles should take care of that.
Thx, i tried that and it NOT fixed the issue. Also returned: "No styles needed updating"

Note that i found that as i reload the page, sometimes some elements are HTTPS (good) and sometimes only HTTP (bad->mixed content warning) - i mean one element is not fixed, sometimes is served as https and sometimes as http