Restrict WP Upload Type


Now manage your Media files security with this plugin. This plugin is provide allow and disallow different upload file Mime types to the WordPress Media Library. In other words, Restrict the Mime types or extensions as per your wish.

Almost 96 extensions and Mime types are available.


  • All 96 Extensions with their Mime types.


Two Way to install

First Way – Via FTP.

1. Download plugin file and unzip it.
2. In the extracted folder you will find file. Extract it.
3. Upload restrict-wp-upload-type folder into Plugins folder in your WordPress installation (/wp-content/plugins) using an FTP client.
4. Log into your WordPress admin panel and click on the Plugins tab.
5. Find installed plugin from the list and click Activate button.

Second Way – Via WordPress Dashboard.

1. Log into your WordPress admin panel and click on the Plugins tab.
2. Navigate to Add New > Upload
3. Click Choose File and select file on your computer.
4. Then hit Install Now and the plugin will be uploaded and installed shortly.
5. Than click Activate button.


How much extensions are available?

There is total 96 extensions are available with their Mime types. You can choose any of them and ready to rock.

Is it restrict SVG file?

Yes, You can restrict or allow to upload SVG file by using this plugin.


2024 ལོའི་ཟླ 5 ཚེས 7 ཉིན། 1 reply
I have this installed on several sites. Everything is working except for one. Settings would not save. Even though I deleted the plugin, my client is barred from all uploads. I posted in the support area but there is no reply to the ticket. Now my client cannot upload documents even though I removed the plugin. Really need to know where the settings are that this plugin created so I can undo them.
2024 ལོའི་ཟླ 5 ཚེས 6 ཉིན། 1 reply
Excellent little plugin that will prove very useful. My use case for this is to discourage colleagues from uploading things they aren’t supposed to, such as: png, because almost certainly it’s a large file and may have transparency that we don’t need webp, because we still have plenty of customers with older safari versions that can’t use webp. We use cloudflare to deliver webp dynamically, so we want the site itself to have one version that is fully compatible as a fallback. This plugin could be improved further by: Tucking the Restrict Files admin menu item inside the media menu, and saying in the documentation where it is. Adding a file size restriction. Adding to the upload failure message to say what plugin has caused this limitation, so that a user has a clue what to do if they need an exception. “Sorry, you are not allowed to upload this file type, as it has been limited by the Restrict Files plugin.”
2022 ལོའི་ཟླ 7 ཚེས 6 ཉིན།
Simple to configure and highly effective. Good job!
གདེང་འཇོག 3 ཡོངས་སུ་ཀློག

བྱས་རྗེས་འཇོག་མཁན། & གསར་འབྱེད་པ།

“Restrict WP Upload Type” is open source software. The following people have contributed to this plugin.




Released April 14 – 2022

  • Initial Release


December 03 – 2023

  • Fixed issues with SVG mime type
  • Fixed minor bugs