When a page loads Google Fonts or Font Awesome from their servers, every visitor’s browser sends its IP address to Google or Font Awesome. German courts have ruled that this can violate the GDPR (DSGVO).
knuspermedia Local Fonts & Icons finds these fonts and icons on your pages, downloads them once to your own server and rewrites the page, so visitors only load them from your domain. It works automatically after activation, no configuration needed.
This plugin is not affiliated with Google or Fonticons, Inc. (Font Awesome).
font-display: swap@import of Google Fonts / Font Awesome inside theme and plugin stylesheets, also nestedpreconnect / dns-prefetch hints to these serversOnly stylesheets and font files are stored, in wp-content/uploads/knuspermedia-local-fonts-icons/. The plugin never stores JavaScript.
Under Settings Local Fonts & Icons you can check any page of your site for remaining references to Google Fonts or Font Awesome, see which files were stored locally and clear the cache. Common page cache plugins (WP Rocket, W3 Total Cache, LiteSpeed Cache, WP Super Cache, Autoptimize and others) are purged automatically.
This plugin is a technical tool. It does not provide legal advice and cannot guarantee that your website complies with the GDPR or any other law.
wp local-fonts-icons flush deletes all local copies and purges page cacheswp local-fonts-icons scan [<url>] checks a page for remaining referencesThis plugin works as a download service for files your site already loads from third-party servers. It contains the host names of these servers only to recognize their URLs in your pages and replace them with local copies. Visitors’ browsers never request anything from these servers because of this plugin; that is what the plugin prevents. No account is needed for any of the services.
Your server contacts a service only when one of your pages references a file from it: once per file, on the first page view after the file appears on your site, after the cache is cleared, or when you use “Check page”. Each request sends the URL of the requested file, your server’s IP address, a browser user agent string and your site’s address as referrer (Font Awesome Pro and Kits only deliver files to registered domains). No data about your visitors is sent.
Google Fonts (fonts.googleapis.com, fonts.gstatic.com), provided by Google LLC: used to download the Google Fonts stylesheets and font files your pages use. The Web Font Loader on ajax.googleapis.com is never contacted; the plugin uses its bundled copy instead.
Terms of Service, Privacy Policy
Font Awesome (use.fontawesome.com, pro.fontawesome.com, kit.fontawesome.com, ka-f.fontawesome.com), provided by Fonticons, Inc.: used to download the Font Awesome stylesheets and fonts your pages use, and to read the version of a Font Awesome Kit.
Terms of Service, Privacy Policy
jsDelivr (cdn.jsdelivr.net; BootstrapCDN at maxcdn, stackpath and netdna.bootstrapcdn.com is served by jsDelivr): used to download Font Awesome files your pages load from jsDelivr or BootstrapCDN, and the Font Awesome Free files that replace a Font Awesome Kit.
Terms of Service, Privacy Policy
cdnjs (cdnjs.cloudflare.com), provided by Cloudflare, Inc.: used to download Font Awesome files your pages load from cdnjs.
Terms of Service, Privacy Policy
You can switch off Google Fonts or Font Awesome handling separately in the settings; the plugin then doesn’t contact that service.
assets/vendor/webfontloader/ (minified as published; source code at the link). Used instead of the copy on Google’s CDN when a page loads Google Fonts through the Web Font Loader.