Skip to content
HostingSquad
To websitehostingsquad.nl
Search
EN

How do I load Google Fonts locally on my WordPress website?

Updated on

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.
  1. Open Plugins › Add Plugin

    In the menu on the left, click Plugins and then Add Plugin.

  2. Find the plugin

    Type OMGF in the Search Plugins field.

  3. Install the plugin

    For OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy., click Install Now.

  4. Activate the plugin

    Click Activate.

  5. Open Settings › OMGF

    In the menu on the left, click Settings and then OMGF. The Local Fonts tab opens.

  6. Choose Swap

    At Font-Display Option, choose Swap. The text is then readable straight away, even before the font has loaded.

  7. Save and optimise

    At the bottom, click Save & Optimize.

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