How to Fix “Sorry, This File Type Is Not Permitted for Security Reasons” Error in WordPress


Is it accurate to say that you are seeing ‘Sorry, this document type isn’t allowed for security reasons’ blunder in WordPress?

You can transfer most basic record types in WordPress with no blunder. In any case, you may see this blunder if the record type isn’t upheld by WordPress.

In this article, we will tell you the best way to effortlessly fix ‘Sorry, this record type isn’t allowed for security reasons’ blunder in WordPress.

What Causes the “Grieved, This File Type Is Not Permitted for Security Reasons” Error?

The mistake “Sorry, this document type isn’t allowed for security reasons” shows up when you attempt to transfer a record type that WordPress doesn’t uphold.

You may have seen this blunder message show up when attempting to add another record in your Media Library.

For security reasons, WordPress limits the document types you can transfer through your WordPress administrator. The allowed record types incorporate every basic picture, video, report, and sound configurations.

One answer for fix this issue is to transfer the records through FTP or your WordPress facilitating document supervisor area.

Notwithstanding, it isn’t as helpful as utilizing the implicit WordPress media library.

So we should investigate how to fix the “Heartbroken, this document type isn’t allowed for security reasons” mistake in WordPress.

Check and Fix the File Type Extension Spelling

In the event that you are attempting to transfer a typical record type that you have recently transferred without seeing this mistake, at that point almost certainly, you have incorrectly spelled the document expansion.

A document expansion is the 3 or 4 letter filetype postfix that shows up toward the finish of record names on your PC. For example, a picture record might be named holidayphoto.png where holidayphoto is the document name and png is the expansion.

These expansions are utilized by numerous projects and applications including WordPress to perceive document types. Following are the default record types and augmentations permitted by WordPress:

Pictures: .png, .gif, .jpg, .jpeg, .ico

Reports: .pdf, .doc, .docx, .xls, .xlsx, .ppt, .pptx, .pps, .ppsx, .odt, .psd

Sound: .wav, .mp3, .m4a, .ogg

Video: .mp4, .m4v, .mpg, .mov, .wmv, .avi, .ogv, .3gp, .3g2

Tip: Although you can transfer recordings to WordPress, we generally prescribe transferring your recordings to a video facilitating site all things considered. This ensures your site’s speed and execution.

At the point when you get this mistake, the principal thing we prescribe is checking the record augmentation to ensure it is right. In some cases, you may inadvertently erase a record name expansion or mistype it while altering or saving a document on your PC.

On Windows 10, you can undoubtedly check document expansions. Basically open the envelope that contains your record and snap on the ‘View’ interface at the highest point of the window. From here, you need to check the ‘Record name augmentations’ container.

In the wake of watching that crate, you will presently observe the augmentation after document names.

Note: This will show the expansion for all records on your PC, not simply the ones in this organizer.

Macintosh clients can see document expansions by opening the Finder application and going to Finer » Preferences from the top menu.

This will raise the Preferences popup where you need to tap on the ‘Progressed’ tab and ensure that the container close to ‘Show all filename expansions’ choice is checked.

Since you can see the document name augmentations, find the record you were attempting to transfer and ensure it has the right expansion.

In the event that the expansion is mistaken, at that point you can just right-click and select the ‘Rename’ choice to change the record name and add the right augmentation.

Permit New File Types in WordPress with the File Upload Types Plugin

In the event that you are transferring a document type that isn’t upheld by WordPress, at that point you can at present transfer it by adding it as an upheld record type.

The File Upload Types module is the most straightforward approach to fix the “Heartbroken, this record type isn’t allowed for security reasons” blunder. This was co-made by WPBeginner’s organizer, Syed Balkhi.

To begin with, you need to introduce and actuate the File Upload Types module. For additional subtleties, see our bit by bit direct on the best way to introduce a WordPress module.

Upon enactment, go to the Settings » File Upload Types page in your WordPress administrator zone. At that point, just sort your record type into the pursuit box.

Next, check the crate close to the document type(s) that you need to empower and tap on the ‘Save Settings’ catch at the lower part of the screen to store your changes.

Presently, feel free to re-visitation of the media library. You will have the option to add your file(s) without getting a blunder message.