How do I load Google Fonts locally on my WordPress website?
If your website uses fonts from Google Fonts, each visitor's browser fetches them from Google. The OMGF plugin puts the fonts on your own web hosting package. They then load faster, and your visitors no longer connect to Google, which is better for their privacy (the GDPR, in Dutch: AVG).
Before you start
- You are logged in to WordPress; see How do I log in to WordPress from DirectAdmin?
- The names in this article are those of WordPress in English. If your WordPress is in Dutch, they are Plugins › Plugin toevoegen, Nu installeren, Activeren, Instellingen › OMGF, Lokale lettertypen, Lettertype-weergave optie, Opslaan & optimaliseren, Lokale lettertypen optimaliseren and, in LiteSpeed Cache, Alles opschonen. The Swap option has the same name in both languages.
Open Plugins › Add Plugin
In the menu on the left, click Plugins and then Add Plugin.
Find the plugin
Type
OMGFin the Search Plugins field.Install the plugin
For OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy., click Install Now.
Activate the plugin
Click Activate.
Open Settings › OMGF
In the menu on the left, click Settings and then OMGF. The Local Fonts tab opens.
Choose Swap
At Font-Display Option, choose Swap. The text is then readable straight away, even before the font has loaded.
Save and optimise
At the bottom, click Save & Optimize.
Clear the cache
If you use a caching plugin, clear the cache; in LiteSpeed Cache, use Purge All.
Do you have questions about loading Google Fonts locally, or would you like help with the plugin? Contact us (in Dutch).
Related articles
Thank you for your feedback.

