Jump to content

Force all images to use HTTPS


jaketheperson

Recommended Posts

Hi there,

I have successfully made site HTTPS. Brilliant! :lol:

Now...

The site has the classic problem of having mixed content.

We all know the drill... stylesheets loaded using HTTPS, external scripts and libraries etc... OK done. That is all working fine.

Images that are in the theme as part of the templates are fine... I'm not sure if they are using relative urls or not...

 

So my main question is... where we have images using http://domain.com/imagepath/image.jpg, is there a way of forcing all of these to use https instead of http rather than manually changing them in  the content areas?

 

This is on the basis that there are like 200 pages and four images on every page, which I do NOT fancy going through and editing image by image!!!

In CMS Made Simple you can add stuff in the .htaccess which just forces everything to use https, no matter what protocol is specified.

 

Hopefully this all makes sense.

Does anyone have a solution?

 

Many thanks,

Jake

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...