Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#16 2019-09-13 15:33:32
- kimass
- New Member
- Registered: 2019-09-12
- Posts: 8
Re: Site images not showing up with https
Main problem are header and logo images.
It is weird because I can open images this way:
https://www.servisracunara.co/img/header_bg.jpg
https://www.servisracunara.co/img/logo.jpg
but website can’t.
Also Chrome console shows 14 errors and 25 warnings – Failed to load resource: the server responded with a status of 404 () - for .png .gif
For examples menu elements:
https://www.servisracunara.co/img/menu_divider.gif
Thanks all of you
Offline
Re: Site images not showing up with https
kimass wrote #319290:
Main problem are header and logo images.
It is weird because I can open images this way:https://www.servisracunara.co/img/header_bg.jpg
https://www.servisracunara.co/img/logo.jpgbut website can’t.
I’m pretty certain it’s some referer control rule in .htaccess that prevents it from loading. Is there a .htaccess file in your /img folder?
Offline
#18 2019-09-13 15:55:26
- kimass
- New Member
- Registered: 2019-09-12
- Posts: 8
Re: Site images not showing up with https
I’ve just checked all the folders and there is no another one.
Last edited by kimass (2019-09-13 15:56:28)
Offline
#19 2019-09-13 17:30:27
- kimass
- New Member
- Registered: 2019-09-12
- Posts: 8
Re: Site images not showing up with https
I changed http in https in this line:
RewriteCond %{HTTP_REFERER} !^https://(www.)?servisracunara.co/.*$ [NC]
and it works. Does it can be solution?
Offline
Offline
Re: Site images not showing up with https
All looks OK from here but there seems to be a problem in the way you are calling the images. This is from your first page: http://www.servisracunara.co//images/189.jpg". Note the the double slash.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline