• Using W3 Total Cache, I noticed I had some dead links. On further digging these turned out to be 3 small image files (so small I hadn’t noticed they’d gone). The path to these files is now indicated as:

    https://fonts.googleapis.com/wp-content/themes/fitness-wp/img/bground.jpg
    https://fonts.googleapis.com/wp-content/themes/fitness-wp/img/bullets.png
    https://fonts.googleapis.com/wp-content/themes/fitness-wp/img/footer_submit.png

    Clearly, fonts.googleapis.com should be my site (swanseawheelers.co.uk)

    Does anyone have any idea how to correct this or how it may have happened? I haven’t ammended the CSS to include anything from Google.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mhk1058

    (@mhk1058)

    Aha, well, it’s something in the minify settings of W3 Total Cache. Yet to find the culprit or how and why it does it.

    @mhk1058
    Just had the same problem – certain images having fonts.googleapis.com appended to the image URL.
    Here’s what I did to fix – I’m using W3TC Minify in manual mode

    I had 2 google font file links in page source

    //fonts.googleapis.com/css?family=Oswald&#038 ….
    &
    //fonts.googleapis.com/css?family=Droid+Sans&#038 ….

    When I set up Minify – these got identified by the /css part of the string, so I mistakenly included them

    After removing these 2 links from the Minify settings, the problem is fixed.

    OK, that was my error – I didn’t notice the /css wasn’t DOT CSS – url/filename.css ??

    If this happened using the automatic CSS minify – I guess the plugin also identified the files by the css in the string
    If so, Frederick might consider modding the code so it looks strictly for .css

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Image links to fonts.googleapis’ is closed to new replies.