Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Talkless on
Hi,
Just enabled Let's Encrypt on some shared hosting-based Drupal 7 website, now I can load site with https://, but Firefox complains that some content is not secure. I discovered that links to internal images inside node body are note https!
I have base_url changed to https://..., Pathologic filter is enabled (as it was lot's of years before SSL support), but relative paths within Node body such as <a href="/sites/default/files/2017/something.jpg
are not rendered as absolute https://..., but as absolute http:/... .
Is this bug in Pathologic, or I miss some configuration?
Comments
Sounds like you have a base
Sounds like you have a base path set to : http:// ?
Otherwise relative paths should not be interpreted like this by the browser. Check your settings.php and the markup of the page, if there is something like this here: https://www.w3schools.com/tags/tag_base.asp
I like cookies!
Looks like base_url was not
Looks like base_url was not actually changed, most likely because I forgot to change settings.php write permissions, FileZilla failed to upload locally edited file (this is not the first time actually).
Sorry for bothering, it works now.