Description
WordPress File Upload Types Plugin
Do you want to let your WordPress website accept uploads from your users for more file types and to freely upload files? We created the File Upload Types plugin to make it simple for anyone to easily add support for any file types with any extension or MIME type.
How WordPress File Uploads Work
By default, WordPress only allows certain file types to be uploaded to your website’s media library.
If someone tries to upload a file type outside of these whitelisted WordPress file extensions, this can be the cause of the common WordPress error Sorry, this file type is not permitted for security reasons
message.
It can be frustrating if you’ve created a file upload form in WordPress but the file type you want to accept is a file extension that’s not allowed.
This plugin lets your website upload more file types beyond the limited file extension types that WordPress allows by default.
How does the File Upload Types plugin work?
The File Upload Types plugin works by letting you adjust the internal file whitelist, letting you manually control which types of file extensions your WordPress website can upload.
This way, you can accept any file type through your website and/or any contact form plugin like WPForms.
What file types can I upload to WordPress with this plugin?
The File Upload Types plugin lets you allow uploads of any file extension, including custom file types.
Some common file extension types this plugin lets you add that WordPress doesn’t support natively include:
.ai
.zip
.xml
.svg
.csv
.mobi
.cad
.dwg
.dxf
…and any other file extensions that exist, including custom file types.
We hope that you find the File Upload Types plugin helpful!
Credits
This plugin was created by the team behind WPForms – the best drag & drop form builder for WordPress.
What’s Next
If you like this plugin, then consider checking out our other projects:
- WPForms – The best WordPress Contact Form Plugin.
- OptinMonster – Get more email subscribers with the most popular conversion optimization plugin for WordPress.
- MonsterInsights – See the stats that matter and grow your business with confidence. Best Google Analytics plugin for WordPress.
- SeedProd – Jumpstart your website with the #1 Coming Soon & Maintenance Mode plugin for WordPress.
- WP Mail SMTP – Improve email deliverability for your contact form with the most popular SMTP plugin for WordPress.
- RafflePress – The Best WordPress giveaway and contest plugin.
Visit WPBeginner to learn from our WordPress tutorials and find out about other best WordPress plugins.
Screenshots
Installation
- Install File Upload Types by WPForms either via the WordPress.org plugin repository or by uploading the files to your server. (See instructions on how to install a WordPress plugin)
- Activate File Upload Types by WPForms.
- Navigate to the Settings area of the File Upload Types plugin in your WordPress admin menu to add file types and MIME types.
FAQ
-
What file types can I upload to WordPress by default?
-
By default, WordPress only allows cetain types of files to be uploaded to a website for security reasons.
Some common file types and file extensions that WordPress supports uploading by default include:
Images
.jpg
.jpeg
.png
.gif
.icoDocuments
.pdf (Portable Document Format; Adobe Acrobat)
.doc, .docx (Microsoft Word Document)
.ppt, .pptx, .pps, .ppsx (Microsoft PowerPoint Presentation)
.odt (OpenDocument Text Document)
.xls, .xlsx (Microsoft Excel Document)
.psd (Adobe Photoshop Document)Audio
.mp3
.m4a
.ogg
.wavVideo
.mp4, .m4v (MPEG-4)
.mov (QuickTime)
.wmv (Windows Media Video)
.avi
.mpg
.ogv (Ogg)
.3gp (3GPP)
.3g2 (3GPP2)Having problems uploading permitted file types or with a big file upload? Some WordPress hosting providers don’t allow you to add all file types, even if you add file types to your media file library with the File Upload types plugin. Hosts can also limit the maximum file upload size you can accept.
-
I found a bug, now what?
-
If you’ve stumbled upon a bug, the best place to report it is in the File Upload Types GitHub repository. GitHub is where the plugin is actively developed, and posting there will get your issue quickly seen by our developers. Once posted, we’ll review your bug report and triage the bug. When creating an issue, the more details you can add to your report, the faster the bug can be solved.
-
Help! I need support or have an issue.
-
Support is available for File Upload Types via the WordPress.org support forums.
Email support is available to WPForms PRO users.
Reviews
Contributors & Developers
“File Upload Types by WPForms” is open source software. The following people have contributed to this plugin.
Contributors“File Upload Types by WPForms” has been translated into 2 locales. Thank you to the translators for their contributions.
Translate “File Upload Types by WPForms” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Change log
1.5.0 – 2024-10-23
- “Add your custom file types” link did not work before clicking on “Add file types manually” link.
- Implemented sanitizing of SVG & HTML files.
- Added message about allowing risky file types.
- Some file types, even enabled, were not possible to upload using the Gutenberg editor.
1.4.0 – 2024-07-17
- New functionality to define file extension and MIME type with sample file.
- The minimum required PHP version is now 7.0.
- The minimum required WordPress version is now 5.5.
- Updated styles and icons.
1.3.0 – 2023-02-15
- IMPORTANT – Support for WordPress 5.1 has been discontinued. If you are running WordPress 5.1, you MUST upgrade WordPress before installing File Upload Types 1.3.0. Failure to do that will disable File Upload Types core functionality.
- Enhancement – Add
.world
and.heif
extensions to the default list. - Enhancement – The list of mime types was extended with
.json
,.otf
, and.ttf
file extensions. - Enhancement – Do not load the plugin textdomain locally, since it is not needed starting from WP 4.6.
- Fix – Microsoft Office MIME type wasn’t properly supported.
1.2.2 – 2021-06-17
- Fix – PHP notices when invalid files are uploaded.
- Enhancement – Replace jquery.ready with recommended syntax.
1.2.1 – 2021-02-24
- Fix – Correctly load composer autoload.
- Enhancement – Add .eps extension to the default list.
- Enhancement – Add ‘application/pdf’ mime type to .ai extension.
1.2.0 – 2020-09-15
- Feature – Multiple MIME types support for a single extension.
- Fix – WordPress 5.5 not clearing values for reptetitive fields.
- Enhancement – Remove already allowed jpg,jpeg extension from the list.
- Enhancement – Improve ‘add your custom file types’ link’.
- Dev – Deprecate ‘file_upload_types_strict_check’ filter without any alternative.
- Dev – Increase priority of ‘wp_check_filetype_and_ext’ filter to 999.
1.1.1 – 2020-07-02
- Fix – Ignore file types that are already allowed by default.
- Fix – Remove duplicate MIME types of the same extension that could create conflict.
1.1.0 – 2020-05-13
- Refactor – Autoloading plugin files and use namespace.
- Fix – Error uploading file types with numerical extension.
- Fix – Icon position on small sized devices.
- Enhancement – Custom types field color visisbility.
- Enahcement – Parameters to the strict check filter.
1.0.0 – 2020-02-12
- Initial Release