Welcome Guest, Not a member yet? Register   Sign In
http to htts
#4

(03-31-2015, 11:21 AM)silentium Wrote: However, don't forget to load any external assets (css, js and more) over HTTPS, or they will not load.

Or just leave the protocol off when loading js/css/images/other assets, and start with a double slash, like "//css/yourcss.css" instead of "https://css/yourcss.css", and the browser will use http or https automatically depending on what the current protocol in the url is so it will work with either with no other changes. That's pretty nice if you have some pages with https and some without.
Reply


Messages In This Thread
http to htts - by prodip56 - 03-31-2015, 04:28 AM
RE: http to htts - by cartalot - 03-31-2015, 10:32 AM
RE: http to htts - by silentium - 03-31-2015, 11:21 AM
RE: http to htts - by CroNiX - 03-31-2015, 01:44 PM
RE: http to htts - by prodip56 - 03-31-2015, 02:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB