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:
…and any other file extensions that exist, including custom file types.
We hope that you find the File Upload Types plugin helpful!
This plugin was created by the team behind WPForms – the best drag & drop form builder for WordPress.
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.
- 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.
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:
.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)
.mp4, .m4v (MPEG-4)
.wmv (Windows Media Video)
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.
Bidragsgivare och utvecklare
”File Upload Types by WPForms” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.Bidragande personer
”File Upload Types by WPForms” har översatts till 2 språk. Tack till översättarna för deras bidrag.
Översätt ”File Upload Types by WPForms” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
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
.heifextensions to the default list.
- Enhancement – The list of mime types was extended with
- 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