2

Cached images are not loaded in HTTPs

For example:

mydomain.com/media/catalog/product/cache/1/small_image/182x/9df78eab33525d08d6e5fb8d27136e95/n/o/non_deco_mix_plus_1_candle_best.jpg

It does not load under https while ssl is active in site

Can anyone help me?

0

Configure the unsecure base URL

Navigate to Admin > Stores > Settings > Configuration > General > Web > Base ULRs and Base URLs (secure).

Set you base URLs to go though https:// protocol.

UPDATE:

You could also try this:

Navigate to Content -> Design - > Configuration - > [yoursite] > HTML head - > Scripts and Style Sheets

Insert this code:

 <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">

enter image description here

| improve this answer | |
  • I have already set https base URLs – Monu Kumar Apr 4 '19 at 15:44
  • Did you do them for both? Secure and unsecure? – Greg Apr 4 '19 at 15:44
  • yes both I have done – Monu Kumar Apr 4 '19 at 15:45
  • Hymmm... try the above from my update :D – Greg Apr 4 '19 at 15:47
  • 404 error: Page not found. – Monu Kumar Apr 4 '19 at 15:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.