WordPress Reference
< All Topics
Print

How to get rid of the “Sorry, this file type is not permitted for security reasons” when uploading to WordPress

Adding the following line to my wp-config.php worked for me:

define('ALLOW_UNFILTERED_UPLOADS', true);

I obtained this solution at the link below

https://kinsta.com/knowledgebase/sorry-this-file-type-is-not-permitted-for-security-reasons/

latest Articles

Table of Contents