SSL cert question

So I just changed my site to SSL. Why would some images be working and some not? I understand the http needs to be changed to https, but how do you do that for a single image/folder?

Thanks

https://www.northbendweather.com/index.php

Put https:// just the same, but I suspect your issue is images cached in your browser, so clean that out and it should be resolved. That’s what I saw when I accessed the site, the UV and Solar images weren’t working, their url’s looked good and it needed a browser refresh to bring them up.

I cleaned everything out, but didn’t help on my end. Still no uv/solar images like you can see. The forecast images don’t show for me either.

If you right click on one of the UV images, what url does properties show?

If you left (double) click on the same image to open it directly what url does the browser address bar show?

If I right click on a uv image, it shows this… https://www.northbendweather.com/ajax-images/UV3.gif

If I then post that same link into the browser, the image does show.

Confused.

Strange… after doing that and when I go to the https version of my site, the uv images show.

That’s not what I was intending you to do. Double click on the missing file icon that’s showing in the page.

Left double clicking doesn’t do anything.

What browser?

IE 11

OK, I don’t know what to tell you then, refreshing/cache clearing fixed it all for me in Chrome :dontknow:

Weird… even on my phone with chrome doesn’t show the images.

Hmmm, in a fresh chrome session the images are missing again. The code appears to be getting them from ajax-images, maybe that needs to be https too - but I really don’t have a clue, sorry :frowning:

Np… hopefully Ken will chime in.

Very odd, Mark. With https:// it appears that there are a lot of http://…/404.php returns for the images and that’s why they aren’t showing.

Your homepage has a mix of images that use http:// to external websites. It would be best to download the image, and change it to a local image display for things lik AWEKAS, etc.

I’m thinking there’s something in your .htaccess that’s forcing a http://…/404.php response.

I use Firefox and enable the developer tools with ctrl-shift-K and see the network panel return the responses for all accesses to your site, and that’s where I find a mix of https and http and the odd collection of 404.php (but no idea why that response is given).

Ok, the Image requests are getting a 302 with a redirect to the 404.php page

Bizarre!


2017-03-16_mark.jpg

Yeah, strange. Do you think its something on 1and1 end?

It could be a configuration issue. Does the cert you used apply to the domain and www+domain? Is there anything in your .htaccess that specifies a 404 error page (and does it have http:// in it)?

My .htaccess has

ErrorDocument 403 /error403.shtml
ErrorDocument 404 /error404.shtml
ErrorDocument 500 /error500.shtml

– note that it just has the page address, not the full http:// or https://. Also, I use server-parsed HTML as there was a problem (long ago) in using a PHP page for the error doc, but no issues using server-parsed HTML.

Also, do you have an auto-redirect for http:// → https:// set up?

Ill have to double check the domain and www question.

Ill post my htaccess file when i get home so you can look at it. I do use the error pages and it does have some type of redirect in it.

Hi Ken. My htaccess file is attached.


htaccess.txt (4.46 KB)