Public Ticket #1939995
uploading custom font


  • 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: 

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

    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.

  •  141
    Alexander - support replied


    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);