Google Fonts causing 404 error
-
I have been looking for a solution to the following problem for a while now and I can’t figure it out.
GTmetrix’s performance report tells me:
The following requests are returning 404/410 responses. Either fix the broken links, or remove the references to the non-existent resources.
– https://fonts.googleapis.com/fonts/ElegantIcons.ttf
– https://fonts.googleapis.com/fonts/ElegantIcons.woffClicking on either of the links does in fact cause a 404-error.
I can’t figure out what part of my website is asking for these Google Fonts. Is it my template (Foreverwood child)? One of my plugins?
The only place I found a reference to Google Fonts was in my functions.php:
$foreverwood_font_url = add_query_arg( 'family', 'PT+Sans', "//fonts.googleapis.com/css" );
and
wp_enqueue_style( 'foreverwood-google-font-default', '//fonts.googleapis.com/css?family=PT+Sans&subset=latin,latin-ext' );
I installed the plugin Remove Google Fonts References, but that didn’t help.
The site itself (https://google-deskundige.nl) seems to be working fine, but the error is bothering me simply because I hate not knowing what’s causing it :S
Any ideas?
- The topic ‘Google Fonts causing 404 error’ is closed to new replies.