Home › Forums › Support › Error message This topic has 1 reply, 2 voices, and was last updated 1 year, 11 months ago by Fernando. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts October 9, 2022 at 9:12 am #2367960 Hans I use this routine recommended by you: add_filter( 'upload_mimes', function( $mimes ) { $mimes['woff'] = 'application/x-font-woff'; $mimes['woff2'] = 'application/x-font-woff2'; $mimes['ttf'] = 'application/x-font-ttf'; $mimes['svg'] = 'image/svg+xml'; $mimes['eot'] = 'application/vnd.ms-fontobject'; return $mimes; } ); All files can be loaded except ttf. I get an error message that the upload is forbidden! What might be the reason? October 9, 2022 at 6:26 pm #2368220 Fernando Customer Support Hi Hans, Try accessing your wp-config.php file through FTP then add define('ALLOW_UNFILTERED_UPLOADS', true); inside the file. Then, add the ttf file, and remove the code in wp-config afterwards. Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In