Skip to content
:: Ahmad Bakdash ::

:: Ahmad Bakdash ::

Nooo , don't be earnest

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

Posted on March 2, 2021 By ubuntu No Comments on How to Fix “Sorry, This File Type Is Not Permitted for Security Reasons” Error in WordPress

As the message implies, WordPress limits the types of files that you can upload to your site for security reasons. However, by adding a small code snippet to your site’s wp-config.php file or using a free plugin, you can manually expand the list of allowed file types so that you’re able to upload any type of file.

Edit the wp-config.php file, add the following code snippet above the /* That’s all, stop editing! Happy blogging. */ line:

define('ALLOW_UNFILTERED_UPLOADS', true);

Where to add the code in your wp-config.php file
Where to add the code in your wp-config.php file

Make sure to save your changes and re-upload the file if needed.

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Telegram (Opens in new window) Telegram

Like this:

Like Loading...

Related

wordpress Tags:wordpress error

Post navigation

Previous Post: Installing Wine 6.0 on Ubuntu 20.04 LTS
Next Post: How to unrar unzip in Ubuntu

Leave a ReplyCancel reply

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1 other subscriber

Recent Posts

  • How to Install VPNGate on Ubuntu 21.10, Kali linux, and windows 10
  • How to install Ubuntu Server 21.10 step by step.
  • How to Install Docker On Ubuntu 20.04 LTS.
  • Install Ubuntu GRUB boot repair
  • Using Diskpart to repartition a USB stick on windows Os

Recent Comments

  • Don on Install Ubuntu GRUB boot repair
  • Md Zayed on How to add text-to-speech to GoldenDict?

Woo

dictionary Docker dual boo freevpn kali nginx photorec raspberry softether ubuntu server ubuntu tips usb VPNGate windows wordpress error

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Copyright © 2025 :: Ahmad Bakdash ::.

Powered by PressBook Blog WordPress theme

 

Loading Comments...
 

    %d