Elxis CMS Forum

Support => General => Topic started by: komang on September 04, 2017, 07:44:04

Title: How to solve non-secure items after isntall SSL
Post by: komang on September 04, 2017, 07:44:04
I just aware if there are some non-secure items on my website after I install SSL.

Here are the result of https://www.whynopadlock.com/check.php for https://ksmtour.com

Total number of items: 208
Number of insecure items: 60

Insecure URL: http://ksmtour.com/templates/system/images/10x10/minus.png
Found in: https://ksmtour.com/inner.php/minify/ec837306f34bb3f4e46230c5b6c59f9c.css

and there are many more.

Please help me to solve this issue.

Thanks

Regards,
Komang
Title: Re: How to solve non-secure items after isntall SSL
Post by: datahell on September 04, 2017, 08:34:22
Minified css/js have been cached in Elxis repository/cache with the old URL (the insecure one). Go to Elxis administration > Cache and deleted all cached files, especially the minifier ones. After this minified files will be re-generated in cache with the new URL (the secure one).

Note: If you have images in your articles with the http://... url you must edit them and change their source url to https://...
Right click front-end pages > View source and search the source (src="...") for images/css/js files with URLs starting from http://...
src="http:
Fix them.

Tip: If you use the image plugin (https://www.elxis.net/edc/multimedia/44.html) instead of direct image input in your articles you will never have similar problems even if you move the site to an other domain.
Title: Re: How to solve non-secure items after isntall SSL
Post by: komang on September 04, 2017, 13:34:55
Hi Datahell,

It works, here the new result of the test: All 148 items called securely!


Anyway, I found hundreds of files on the Chace, is it safe if I delete all of those file?

Thanks a lot (for the tip as well)

Regards,
Komang
Title: Re: How to solve non-secure items after isntall SSL
Post by: datahell on September 04, 2017, 18:45:37
Yes, it is safe to delete ALL of them. In fact, it is safe to delete any file in any folder of Elxis repository. Elxis will re-generate those needed. Just dont delete the folders themselves and make sure they are always write-able.

Elxis repository main folders (don't delete them, they must be write-able, you can safely delete any file inside them)
backup
cache
logs
other
sessions
tmp
Title: Re: How to solve non-secure items after isntall SSL
Post by: komang on September 05, 2017, 07:52:51

Okay, thank Datahell. I will do your instructions.

Regards,
Komang