Image called via CSS stopping SSL certification

Permalink
CSS = background-image:url(/images/R1434ED1.jpg)
This is presenting as Insecure URL:http://www.racheltrevormorgan.com/themes/rtmc5/images/R17W28.jpg....
Does anyone know how I can change the default http to https so that I can get the all clear on
https://www.whynopadlock.com/check.php...
Thanks!
Jo

madeforspace
View Replies: View Best Answer
weyboat replied on at Permalink Reply
weyboat
Probably because you are calling your canonical link in your header like this
<link rel="canonical" href="http://www.racheltrevormorgan.com">

Try it like this
<link rel="canonical" href="https://www.racheltrevormorgan.com">
madeforspace replied on at Permalink Reply
madeforspace
Thanks so much!

Where do I change it?
Have searched in all the C5 files.
I assume its in the core somewhere?

Jo
enlil replied on at Permalink Reply
enlil
I could be wrong but it appears you're using the Dark Chocolate theme?! The line @weyboat references should be in the header file within the theme.

Have you tried calling the image in the css with a full https url?
weyboat replied on at Permalink Best Answer Reply
weyboat
Add this line to your config/site.php file
define('BASE_URL', 'https://www.racheltrevormorgan.com');
madeforspace replied on at Permalink Reply
madeforspace
fantastic - thank you! That did the trick - I just didn't know where to change it.
Thanks so much for helping me!
Jo x
weyboat replied on at Permalink Reply
weyboat
Your very welcome..