Back to top

WordPress Error Fix – Sorry, This File Type Is Not Permitted For Security Reasons

wordpress error fix

As an experienced WordPress user, sometimes you would like to upload some sorts of unusual files (I mean not standard images etc.) to your website.

Possibly you’re influencing a website that let users download documents or perhaps you need to add a downloadable motivating force to your email opt-in structure.

Be that as it may, soon you’ll find that WordPress really don’t care for it when you transfer explicit sorts of records. On the off chance that you endeavour to transfer a record that WordPress doesn’t care for, you will get a mistake saying “Sorry, This File Type Is Not Permitted For Security Reasons”

Fortunately, there’s a simple fix for this issue and I am going to walk you through it.

“Sorry, This File Type Is Not Permitted For Security Reasons” From Where Is It Coming?

Above all else, this is a typical mistake for most bloggers and WordPress users. Along these lines, don’t be frightened or alarm. The issue can likewise be effectively settled.

WordPress’ own framework is at fault for this mistake. Despite the fact that WordPress is a substance the board framework, regardless it has an exceptionally strict sifting framework for tolerating just a chosen few kinds of documents into the framework.



What’s more, when you attempting to transfer a document that is not in WordPress’ upheld records list, you’ll experience the “Sorry, This File Type Is Not Permitted For Security Reasons” mistake.

What Causes This Issue?

As you most likely are aware there is a wide range of kinds of records utilized by various sorts of uses. For instance, .AI is a typical record type utilized by Adobe Illustrator.

This document type is broadly utilized by designers and artists to spare and share their work. In any case, don’t be shocked on the off chance that you get a “Sorry, This File Type Is Not Permitted For Security Reasons” blunder when attempting to transfer an.AI document to WordPress on the grounds that the record type isn’t in WordPress’ upheld records list.

This is the full rundown of record types permitted in WordPress as a matter of course.



It’s confounding that WordPress still doesn’t bolster prominent and basic record types like Illustrator as a matter of course. Furthermore, it’s solitary one of the many document types that WordPress still doesn’t bolster.

So truly, this time you can fault WordPress for putting you through this befuddling mistake. Yet, you can fix this issue physically to transfer any record type you need.

The most effective method to Fix The Error

There are two straightforward approaches to fix the “Sorry, This File Type Is Not Permitted For Security Reasons” blunder. One strategy required utilizing a module and alternate requires altering a centre WordPress document.

Before you continue I very suggest that you reinforcement your website. In the event that you don’t have a reinforcement framework yet, you can set it up utilizing a free module.

Strategy 1: Use A Mime Types Plugin

There are a few emulate types modules that assistance you add your own document types to the WordPress upheld records list, similar to Pro Mime Types, Mime Types Extended, and Unsafe Mimetypes. Lamentably, the vast majority of these modules are obsolete.

I’m utilizing the WP Add Mime Types module for the instructional exercise since it’s been refreshed to help the most recent WordPress adaptations. Don’t hesitate to attempt and utilize an alternate module on the off chance that you incline toward.

Stage 1: Install WP Add Mime Types Plugin

To Install the module, login to your WordPress dashboard and go to Plugins >> Add New.



Look for the WP Add Mime Types module and snap the Install and afterwards Activate catches to empower the module.

Stage 2: Customize The Plugin

After the establishment, another page will show up in the Settings page called Mime Type Settings. From this page, you can add certain document types to add them to the WordPress framework.



Scan for the document type you need to include and duplicate glue it into the Add Values box. Ensure that you duplicate the whole line identified with the record type expansion you’re attempting to include.

At that point click on the Save catch to spare the changes. When the document type is empowered, it will be featured in shading red on the rundown.



The main issue with this strategy is that even the emulate type modules have limits with regards to including certain record types. For instance, the module doesn’t permit transferring of.AI documents. Be that as it may, the second strategy gives you a chance to keep away from that issue and transfer any record you need.

Strategy 2: Edit WP-Config File

WP-Config.php is a centre document utilized by WordPress that handles huge numbers of WordPress usefulness. You can alter this record to handicap the framework that avoids transferring of certain document types. From that point onward, you’ll have the capacity to transfer any document type you need.

Stage 1: Access Your Server

You can alter the WP-Config record by utilizing an FTP client application or by signing into your server CPanel and utilizing the File Manager.

Explore to people in general envelope where your WordPress website is facilitated and where all the WordPress centre documents are found.

Stage 2: Edit WP-Config.php

At that point open and alter the WP-Config record.



When you have the record opened, essentially look for the term /* That’s all, stop editing! Happy blogging. */

At that point glue the accompanying line of code directly above it




That is it!

As yet Getting The Same Error?

The above strategies ought to work to enable you to transfer practically any kind of document you need in WordPress. Notwithstanding, in the event that regardless you get a similar blunder you should take a stab at reaching your facilitating supplier and look for their assistance.

Some web has to keep particular sorts of records being transferred for security reasons. In the event that you continue getting the blunder and you urgently need to transfer the document in WordPress, contact the facilitating supplier’s client backing and check whether they have a few channels keeping you from transferring any records.