Search code examples
drupal-7

Drupal Site was loaded over HTTPS, but requested an insecure stylesheet


I am getting the following issue when I converted HTTP to https in Drupal

Site was loaded with HTTPS but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Open+Sans:regular&subset=cyrillic-ext'. This request has been blocked; the content must be served over HTTPS

Thanks in advance


Solution

  • Thanks Everyone, I added

    $_SERVER['HTTPS'] = 'on'      
    

    in settings.php file and http converted to https