knuspermedia Local Fonts & Icons

knuspermedia Local Fonts & Icons

Details
View on WordPress

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).

What it handles

  • Google Fonts stylesheets (CSS API v1 and v2), reduced to the subsets you need, with font-display: swap
  • Font Awesome stylesheets from its own CDN and from cdnjs, jsDelivr and BootstrapCDN
  • Font Awesome’s JavaScript version and Font Awesome Kits, replaced by the local stylesheet of the same release (Font Awesome Free for kits)
  • @import of Google Fonts / Font Awesome inside theme and plugin stylesheets, also nested
  • Inline styles, URLs inside inline scripts and JSON, and the Web Font Loader (replaced by a copy bundled with the plugin)
  • preconnect / dns-prefetch hints to these servers
  • Fonts that scripts add later in the browser (sliders, page builders, maps), blocked by an optional JavaScript guard
  • Local file paths contain no third-party host names, so source code scanners don’t report false positives

Only stylesheets and font files are stored, in wp-content/uploads/knuspermedia-local-fonts-icons/. The plugin never stores JavaScript.

Check your pages

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-CLI

  • wp local-fonts-icons flush deletes all local copies and purges page caches
  • wp local-fonts-icons scan [<url>] checks a page for remaining references

External services

This 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.

Bundled libraries

  • Web Font Loader 1.6.28 by Adobe Systems and Google, Apache License 2.0, in 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.

Details

Plugin code:
knuspermedia-local-fonts-icons
Plugin version:
1.4.0
Outdated:
No
WP version:
6.9 or higher
PHP version:
7.4 or higher
Test up to WP version:
7.1.4
Total installations:
0
Last updated:
2026-11-09
Rating:
Times rated:
0
dsgvo
font-awesome
gdpr
google-fonts
local-fonts