Connect with us

Tech

How to Fix “Sorry, this file type is not permitted for security reasons” on WordPress

Published

on

If you are using wordpress for your blog or site you must have observed that sometimes you get frustrated when trying to upload certain file format. You get error message saying “Sorry, this file type is not permitted for security reasons”. 

Below is an easy guide to fixing the issue. This process will allow you upload any file format on WordPress

  • In your cpanel (file manager)  locate wp-config  which is located in your public_html 

  • Click on your wp-config.php file. Right click and click Code Edit
  • Add the following line of code 

define(‘ALLOW_UNFILTERED_UPLOADS’, true);


  • Then save… 

Issue fixed you can now trying uploading any file format. 

Let us know if you encounter and issue

Follow us on social media:
Advertisement
Comments

Trending

?>