• Resolved Lyn Ma

    (@lyn-ma)


    I am running a personal blog built using WordPress. My site runs very slowly. Sometimes, I even can not access it. I have inquired my friend and he told me that there are Google Fonts in my site. To make my site run faster, I need to optimize the Google Fonts. How to do that???

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    There are three different ways to load google font- @import, javascript and link rel. Try to load the font by link rel tag . It is faster than other two methods.

    Thread Starter Lyn Ma

    (@lyn-ma)

    Thanks for your answer. But I know nothing about blogging or WP before, so i can not really understand how to do by following the methods you offered. Is there any easy way to optimize the Fonts without coding? I know little about coding at this moment.

    To remove Google fonts and optimize WordPress loading speed in China Mainland, you can follow those steps:
    1. The most simple way, install Plugins. You can just search ‘disable goole fonts’ in wordpress and choose a plugin to install, such as Disable Google Fonts\ Remove Fonts References, etc.

    2. If the first method does not always work, try to edit function.php under your theme folder. Search and replace ‘fonts.googleapis.com’ with ‘fonts.useso.com’, save and flush all the caches.

    3. The ultimate method is to install NotePad++ in your local computer. Download your wp-includes/ folder and your theme folder,search and replace ‘fonts.googleapis.com’ with ‘fonts.useso.com’ in each file via NotePad++(Use ctrl+H,Find in Files,set the right directory and click Replace in Files). save all, upload and overwrite all modified files to your hosting. Then flush all the caches, Google Fonts will be removed now.

    Thread Starter Lyn Ma

    (@lyn-ma)

    Thank you guys. I just installed a plugin you mentioned above and now my site runs much faster than before. Thank you very much! Happy new year!

    I tried everything, but when loading our website it still says there is googleapis font to be loaded (at which point it takes ages to fully load).

    Any other solutions to the issue?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘How to optimize Google Fonts?’ is closed to new replies.