1. Home
  2. Knowledge Base
  3. SEO Suite
  4. How to Fix “Sorry, This File Type Is Not Permitted for Security Reasons” Error in WordPress

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

In this knowledge-base article, we’ll walk you through the “Sorry, this file type is not permitted for security reasons” error and how to allow additional file types.

What Is “Sorry, This File Type Is Not Permitted for Security Reasons” Error?

You might come across the error “Sorry, this file type is not permitted for security reasons” when you try to upload a file type that is not supported by WordPress.

WordPress imposes limitations on the file types you can upload for security reasons. By default the file types that you can upload are as follows:

  1. Images: .png, .gif, .jpg, .jpeg, .ico
  2. Documents: .pdf, .doc, .docx, .xls, .xlsx, .ppt, .pptx, .pps, .ppsx, .odt, .PSD
  3. Audio: .wav, .mp3, .m4a, .ogg
  4. Video: .mp4, .m4v, .mpg, .mov, .wmv, .avi, .ogv, .3gp, .3g2

You can fix this problem by uploading the files through FTP or your WordPress hosting file manager section. But this is not as convenient as using the Media Library.

So let’s take a look at how to fix the “Sorry, this file type is not permitted for security reasons” error.

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

1 Check and Correct the File Type Extension Spelling

One of the easiest ways to fix this error is to check for the spelling of the file extension. There are chances that you might have misspelled the file extension and hence face this error.

By correcting the file extension you can get rid of this error.

2 Allow New File Types with the File Upload Types Plugin

If you want to upload a file type that is not supported by WordPress you need to add that file type as a supported file type in WordPress.

You can make use of a plugin called File Upload Types and easily fix the “Sorry, this file type is not permitted for security reasons” error by adding your supported file type.

WordPress errors can cause setbacks when you’re making changes to your website. You might even come across Syntax Errors when you try to update the existing theme or plugin files. However, when it comes to the Sorry, this file type is not permitted for security reasons error, there are solutions available as we have discussed above to let you upload files in WordPress.

Was this article helpful?

Still need help?

?

Submit Your Question

Please give us the details, our support team will get back to you.

Open Ticket

Related Articles