Okay
  Public Ticket #1939995
uploading custom font
Closed

Comments

  • samuelwestDisgust started the conversation

    Hi !

    I've got LEVELUP installed. Bluehost is the host. I'm trying to install a custom font and got this error message:
    StyreneA-Regular-Web.woff. “Sorry, this file type is not permitted for security reasons.”

    Bluehost support initially told me to follow these instructions: 
    https://www.hostinger.com/tutorials/fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress

    I’ve installed plugin Pro Mime Types, and added: font/woff
    font/woff2

    Also, from the Bluhost cPanel: MIME types I added:
    font/woff, and font/woff2.

    Now I still get the same error message both when trying to upload media in wordpress, and when trying to upload the font files in the LEVELUP theme.

    Bluehost support say that there is nothing else they can do.

  •  105
    Alexander - support replied

    Hi,

    Try to add this code in wp-config.php for a short time to upload your fonts. We cannot affect to WordPress security rules.

    define(‘ALLOW_UNFILTERED_UPLOADS’, true);

    Regards