Trying to fix a link within a theme

WordPress Business Themes Forums General Discussion Trying to fix a link within a theme

Trying to fix a link within a theme

March 13, 2017
Kelly Kelly
  • 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

    March 13, 2017 at 12:48 am
  • Ramon
    Ramon
    Senior Member 174 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.

    March 13, 2017 at 2:13 pm
  • Jason
    Jason
    Guru 833 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.
    November 7, 2017 at 8:35 am

  • Janak
    Super Guru 1,283 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.

    November 7, 2017 at 5:18 pm
  • Josh
    Josh
    Super Guru 13,888 points

    Thanks for sharing Janak :)

    November 8, 2017 at 11:49 am
  • Jason
    Jason
    Guru 833 points

    Thanks for sharing Jason

    November 8, 2017 at 9:56 pm

  • Julian
    Newbie 90 points

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

    November 8, 2017 at 11:01 pm
Viewing 7 posts - 1 through 7 (of 7 total)

Didn't find what you were after?

Chat with us now

or contact our support team