Mohammad
Mohammad

Reputation: 13

Not sure how to fix unsecured content over SSL

My website is here, and visiting it in Chrome gives the 'load unsafe script' error and unsecured content errors in the console. Firefox loads the site, but there isn't a lock.

My site is entirely in PHP, and I'm not sure where to start. The console and firebug said that the site was loading unsecure scripts over HTTP, but how do I make it all HTTPS?

Thanks in advance!

Upvotes: 0

Views: 1822

Answers (1)

RichieHindle
RichieHindle

Reputation: 281435

Your HTML has lots of links to http:// resources, eg.:

<link rel="stylesheet" type="text/css" href="http://portal.thespartaninstitute.com/...">

You need to ditch the http: part and just link to //portal.thespartaninstitute.com/... - that will then use https when the page has been loaded that way.

Upvotes: 1

Related Questions