Some themes or plugins support uploading fonts such as google fonts. The safety regulations of WordPress WordPress does more than 38.8% of all websites on the internet. Yes - more than one in four websites you visit is likely powered by WordPress. • WordPress.org , often as self-hosted WordPress is the free open source WordPress software that you can install on your own web host to create a 100% custom website.• WordPress.com is a for-profit, paid... however refuse to upload these two files .ttf and .otf .
« Unfortunately, this file type is not allowed for security reasons »
Our solution: Temporarily override the security mechanism!
The following line is added to the wp-config.php file:
define('ALLOW_UNFILTERED_UPLOADS', true);
Now you can upload the fonts.
It is strongly recommended to remove the line from the wp-config.php file again.
Dieser Beitrag ist auch verfügbar auf: Deutsch (German)