Resolving the Issue of fonts.googleapis.com Being Unreachable in China for WordPress
Nearly all styles of WordPress and its themes use fonts.googleapis.com. However, due to well-known reasons in China, Google services cannot be accessed normally. This results in WordPress pages failing to load on many devices within China.
Solution
Replace fonts.googleapis.com with fonts.useso.com (a domestic acceleration node provided by 360 Website Guardian).
Locations to Make the Replacement
- In the WordPress backend, go to Appearance and select Editor. Then choose the "Template Functions (functions.php)" file. Search for
fonts.googleapis.comand replace it withfonts.useso.com. - In the WordPress file directory, open
/wp-includes/script-loader.php. Search forfonts.googleapis.comand replace it withfonts.useso.com.