This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Restrict WP Upload Type

Description

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.

Screenshots

  • All 96 Extensions with their Mime types.

Installation

Two Way to install

First Way – Via FTP.

1. Download plugin file and unzip it.
2. In the extracted folder you will find restrict-wp-upload-type.zip 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 restrict-wp-upload-type.zip file on your computer.
4. Then hit Install Now and the plugin will be uploaded and installed shortly.
5. Than click Activate button.

FAQ

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.

Reviews

Jawza 7, 2024 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.
Jawza 6, 2024 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.”
Read all 3 reviews

Contributors & Developers

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

Contributors

Changelog

1.0.0

Released April 14 – 2022

  • Initial Release

1.0.2

December 03 – 2023

  • Fixed issues with SVG mime type
  • Fixed minor bugs