Your Time:
Our Time:

SSL error because of Google-Fonts

Sorry, but you do not have the capability to view this topic

  • Resolved
    Posted in: Hostme V2  
    • Topics: 1
    • Replies: 4
    • Total posts: 5
    Post count: 10
    mellowhost
    Member
    2016-01-25 at 10:57 pm #12480
    
    Mixed Content: The page at 'https://mellowhost.com/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=PT+Sans+Narrow&ver=4.4.1'. This content should also be served over HTTPS.
    Mixed Content: The page at 'https://mellowhost.com/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Open+Sans+Condensed%3A300&ver=4.4.1'. This content should also be served over HTTPS.
    Mixed Content: The page at 'https://mellowhost.com/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Open+Sans:400,800,300,700'. This content should also be served over HTTPS.
    

    there are 103 errors similar to these deleted them for better understanding

    Tried changing code in framework/common/atp_googlefont.php

    $out .= '<link href="'.$protocol.'fonts.googleapis.com/css?family=' . $fonts .'" rel="stylesheet" type="text/css" />'."\n\n";

    to

    $out .= '<link href="//fonts.googleapis.com/css?family=' . $fonts .'" rel="stylesheet" type="text/css" />'."\n\n";

    according to http://wptavern.com/wordpress-tip-how-to-load-google-fonts-over-ssl-and-non-ssl

    it helped me to change only one line of google font in my pages.

    <link rel='stylesheet' id='css3_grid_font_yanone-css' href='//fonts.googleapis.com/css?family=Yanone+Kaffeesatz&ver=4.4.1' type='text/css' media='all' />

    still http lines are

    <link rel='stylesheet' id='css3_vertical_table_font_sans_narrow-css'  href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow&ver=4.4.1' type='text/css' media='all' />
    <link rel='stylesheet' id='css3_vertical_table_font_sans_condensed-css'  href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed%3A300&ver=4.4.1' type='text/css' media='all' />

    Please let me how to change them.

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.