edit the function.php file find the
define('ALLOW_UNFILTERED_UPLOADS', false);
You just need to change the false
to true
define('ALLOW_UNFILTERED_UPLOADS', true);
You just need to change the false
to true
and save the file.
I found this solution on——–
https://indoclan.com/sorry-this-file-type-is-not-permitted-for-security-reasons/
You can also find another method on this link to fix this issue on your WordPress website.
- Komal answered 3 months ago
- last edited 2 months ago
- You must login to post comments
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/
- netpressionist answered 1 year ago
- You must login to post comments
Your Answer