Title: Adding Acceptable file types
Last modified: June 15, 2020

---

# Adding Acceptable file types

 *  [blur702](https://wordpress.org/support/users/blur702/)
 * (@blur702)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adding-acceptable-file-types/)
 * So, I’m trying to upload some custom fonts through the media uploader as elementor
   wants, but when I upload woff, woff2, ttf, svg, etc… for the fonts, WordPress
   is denying me due to security.
 * What is the best way to get these uploaded through the backend UI?
 * Thanks
    Kevin
    -  This topic was modified 5 years, 9 months ago by [blur702](https://wordpress.org/support/users/blur702/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adding-acceptable-file-types/#post-12989582)
 * You can use the Lord of the Files plugin: [https://wordpress.org/plugins/blob-mimes/](https://wordpress.org/plugins/blob-mimes/)
 *  Thread Starter [blur702](https://wordpress.org/support/users/blur702/)
 * (@blur702)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adding-acceptable-file-types/#post-12989645)
 * I’m intrigued by the ‘Lord of Files’ plugin.
 *  Thread Starter [blur702](https://wordpress.org/support/users/blur702/)
 * (@blur702)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adding-acceptable-file-types/#post-12989679)
 * Nope – thanks though. It didn’t do the trick.
 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adding-acceptable-file-types/#post-12989826)
 * That plugin usually does the trick, but the plugin author [@blobfolio](https://wordpress.org/support/users/blobfolio/)
   is good at determining if the file is the problem.
 *  [Blobfolio](https://wordpress.org/support/users/blobfolio/)
 * (@blobfolio)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/adding-acceptable-file-types/#post-12989955)
 * Hi [@blur702](https://wordpress.org/support/users/blur702/),
 * WordPress sites have an explicit whitelist of allowed file types which can be
   uploaded through the Media Library. `Lord of the Files` helps WordPress figure
   out what type of file a file actually is (so it can be checked against the whitelist
   correctly), but does not actually alter the whitelist itself.
 * Font files are not part of the default whitelist, so as a first step, you need
   to add entries for TTF, WOFF, WOFF2, etc.
 * Allowed file types/extensions can be added or removed by using the [upload_mimes](https://developer.wordpress.org/reference/hooks/upload_mimes/)
   filter hook. (That’s just part of vanilla WordPress; no plugins required.)
 * If you yourself are not a programmer or able to add custom code to your site,
   you could try a plugin like [https://wordpress.org/plugins/wp-add-mime-types/](https://wordpress.org/plugins/wp-add-mime-types/)
   to help get them added for you.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Adding Acceptable file types’ is closed to new replies.

## Tags

 * [file types](https://wordpress.org/support/topic-tag/file-types/)
 * [files](https://wordpress.org/support/topic-tag/files/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [Blobfolio](https://wordpress.org/support/users/blobfolio/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/adding-acceptable-file-types/#post-12989955)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
