CodeIgniter Forums

Full Version: SSL Certificate and mixed content
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello, i am having trouble making my website secure. i have activated the SSL on with my web host provider and have redirected the domain using htaccess by copying this code;

#Rewrite everything to https
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

but now the website is saying it is partially secure. What does this mean and how can i resolve it?
Could be that you are loading (for example) google fonts from http://

https://developers.google.com/web/fundam...ed-content
(02-09-2017, 09:46 AM)[email protected] Wrote: [ -> ]hello, i am having trouble making my website secure. i have activated the SSL on with my web host provider and have redirected the domain using htaccess by copying this code;

#Rewrite everything to https
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

but now the website is saying it is partially secure. What does this mean and how can i resolve it?


Check the network in the developer console (F12)
(02-09-2017, 09:46 AM)[email protected] Wrote: [ -> ]hello, i am having trouble making my website secure. i have activated the SSL on with my web host provider and have redirected the domain using htaccess by copying this code;

#Rewrite everything to https
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

but now the website is saying it is partially secure. What does this mean and how can i resolve it?

This issue comes when your website url is https and you are loading some js or css files with http.

Change all the links from http to https
It could also be due to a form submitting to http url. I suggest you use https://www.whynopadlock.com to find out the reason(s), it's a very handy tool.
PHP Code:
$config['base_url'] = 'https://your.domain.name/'

That's where I would start.