Trying to fix a link within a theme

  • Kelly
    Kelly
    Newbie
     
    19 points

    I am trying to secure one of my sites to use https://. This site uses the Responsive Business Theme.

    One of the links that is unsecured is one to the Google fonts. Here is the error message I get:

    Insecure Stylesheet: <link rel=’stylesheet’ id=’googleFonts-css’ href=’http://fonts.googleapis.com/css?family=Roboto%3A300%2C400%2C500%2C700&ver=0b5ad0d213e4bebfaa47e783f25b0667′ type=’text/css’ media=’all’ />

    Any idea where this link would be – in what file? I can’t seem to find it.

    I would also suggest that all themes be updated with https:// when linking to external sites. Google and others are indicating that site rankings will be affected.

    Thanks!

    Kelly


    Ramon
    Ramon
    Senior Member
     
    173 points

    Try using the https://en-gb.wordpress.org/plugins/better-search-replace/ plugin.

    Make sure you do a ‘Dry Run’ first off, and when you’re happy, go ahead with the full replace.


    Jason
    Jason
    Titan
     
    729 points

    see image here to fix, may need to do this on every update unless fixed from Mark fail

    Attachments:
    You must be logged in to view attached files.


    Janak
    Super Guru
     
    1,217 points

    I can verify that what Jason suggest fixes the problem but I also found that if you use a child theme the problem goes away without having to use this fix.


    Josh
    Josh
    Super Guru
     
    13,887 points

    Thanks for sharing Janak :)


    Jason
    Jason
    Titan
     
    729 points

    Thanks for sharing Jason



    Julian
    Newbie
     
    90 points

    yup..it doesnt affect it with Child…Im fully HTTPS now


Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.