Why does my website appear as insecure while using a SSL certificate?

When using a SSL certificate, your website may show as insecure if your site is referencing media files within the web site linked to an absolute path. All links to media files must be directed to https. For example, an absolute link would look like:

<img src="https://www.example.com/images/banner.jpg">

 

Note the s in https - that is what tells a web browser if a website is secure or not.

An absolute path uses "http" or "https" which is the crux of the problem since "https" must be used for all content to appear secure. A relative link doesn't include the domain name. Media content (an image, movie, audio) needs to be referenced with a relative path.

For example, a relative link would look like:

<img src="images/banner.jpg">

 

By using a relative path, part of the image location is left to be assumed. A web browser will use the actual URL of the web page. So, if you use a relative path and the page is http://example.com/page.html, then the image is assumed to be at:

http://example.com/images/banner.jpg


If you use a relative path and the page is https://webhost.examplehost.com/~matt/page.html, then the image is assumed to be at https://webhost.examplehost.com/~matt/images/banner.jpg.

 

 

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How do I perform a trace route?

A trace route, also called tracepath or tracert, is a network tool used to determine the "path"...

Is my website down?

It's very unlikely that your website is down. Outside of scheduled server software or hardware...

How do I protect my media files from "hotlinking"?

Hotlinking is when content from your site is embedded on another site, using your monthly...

How do I block an IP Address (visitor) from seeing my website?

You can use the IP Blocker tool in cPanel to block a single IP address or a range of IP addresses...

How do I force the "www" to show up in a domain name?

Our servers are configured so that your domain name will work with or without the 'www' part...