Font Awesome icons corrupt when translating a WordRress site with GTranslate

When using GTranslate‘s paid plans, it’s possible to choose Sub-domain URL structure.
In case of using sub-domain URL structure, all the traffic of translated pages will fall on GTranslate servers.

When I chose the sub-domain URL structutre, I found Font Awesome icons were corrupt.

WordPress GTranslate

To fix the icon font load issue, you need to add the following rules on top of your .htaccess file:

<FilesMatch "\.(ttf|ttc|otf|eot|svg|woff|woff2)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>

When I added the rules, the icon font load issue disappeared.

The translation quality of GTranslate may be not so satisfactory. GTranslate offers some options to enhance the quality.

Related Posts

Comments are closed.