2

My full site is using SSL for all pages, and working fine.

But I noticed CSS files are included without HTTPS prefix, while I have set the base URL in my settings.php file as:

$base_url = 'https://my.domain.name';

How can I include all CSS files with HTTPS?

  • AdvAgg has an option to fix that if installing it is an option? – Clive Feb 9 '16 at 14:13
  • 1
    Yes i can install AdvAgg, But i am really interested to know the reason ? – visabhishek Feb 9 '16 at 14:20
  • It must be some bug introduced by a module, since I've checked it on a site I'm developing and it generates all css files with https. – Елин Й. Feb 9 '16 at 14:26
  • 1
    Thanks Елин Й and Clive, i will try to find-out the exact snippet of code and update. till than i will use AdvAgg as per suggestions. – visabhishek Feb 9 '16 at 14:29
  • 1
    Would be good to know how the CSS has been added e.g by custom modules or themes? Are you adding a css file from external source via http? It is not a fault of Drupal core sure. – Gulok Apr 7 '16 at 7:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.