WordPress Upload File Error


File Manager


Most robust and powerful file manager for wordpress. You can upload, delete, copy, move, rename, archive, extract files. You don’t need to worry about ftp any more. It is realy simple and easy to use.
Just install the plugin following standard wordpress plugin install process. All the file management in one place.

Extend File Manager with tons of features and priority support.

Documentation See detail documentation here.

Get Express Support Open a support ticket to get support quickly.

New Features

  • elFinder updated to 2.1.48 (security update)
  • Share file via email (since 5.1.2)
  • Root folder path & url added (since 5.1.2)
  • Syntax Checker for PHP added (since 5.1.2)
  • PDF preview added (since 5.1.2)
  • PSD preview added (since 5.1.2)
  • Code & Image editor added (since 5.1.1)
  • WYSIWYG Editor added (since 5.1.1)
  • Chunked file upload added. Upload large file regardless your php.ini settings (since 5.1.1)

Caratteristiche principali

  • Upload, Download and Delete operations
  • All operations with files and folders (copy, move, upload, create folder/file, rename, archive, extract, edit, etc.)
  • Download, upload, cut, copy, duplicate, paste, delete, create directory, create file, edit file, rename, archive, extract
  • Light and Elegant client UI
  • Drag & Drop file upload support
  • List and Icons view available
  • Alternative to FTP and cPanel
  • Supported Archives (zip, rar, 7z, tar, gzip, bzip2)
  • Image and File Edit Support
  • Quicklook, preview for common file types
  • Calculate directory sizes
  • Video and audio preview/play
  • Support file search and sort

Extended Features

  • High performance server backend
  • Uses local file system no need of database.
  • Keyboard shortcuts available
  • Multiple file/folder selection
  • Move/Copy files with Drag & Drop
  • Rich context menu and toolbar
  • Thumbnails for image files
  • Auto resize on file upload.
  • UTF-8 Normalizer of file-name and file-path etc.
  • Sanitizer of file-name and file-path etc.
  • Folder upload
  • Chunked file upload
  • Upload directly to the folder
  • Creating the archive by specifying the file name
  • File browsing history
  • Responsive(Works on tablet and phone)

Extend File Manager

  • Frontend: Enable file manager plugin for frontend users.
  • Shortcode Support: Shortcode support for file manager to post it anywhere on your website.
  • Personal User Folder: Every user has personal/private folder.
  • Public User Folder: All the user can share a common folder.
  • User Role Folder: User with same role can have common shared folder.
  • User Role Permission: Set permission for user roles.
  • User Permission: Set permission for specific users.
  • File Type: Control what files can be uploaded and what file can be downloaded.
  • File Size: Control maximum file size that can be uploaded.
  • Maximum Operations: Support 13+ types of file operation control.
  • Operation Control: Control 13+ operations for specific user and user role.
  • Ban Roles/Users: Ban Users and Roles.

Screenshot (schermate di esempio)

  • Overall View
  • Tool Bar
  • Advanced Search
  • File Size Indecator
  • Image Edit
  • Modifica immagine
  • Preview file
  • Edit file
  • Right Click Menu
  • File manager settings page
  • Server details.


  • At least Firefox 12, Internet Explorer 9, Safari 6, Opera 12 or Chrome/Chromium 19
  • PHP 5.2+ PHP 5.4+ (recommended)
  • Minimum 5.2
  • Recommended 5.4+
  • Upto 7.2
  • Supports 7.3 on production environment
  • DISALLOW_FILE_EDIT must be false to edit files from file manager.
  • Installation process

    • Upload and install the plugin.
    • Go to admin dashbord
    • Click on File Manager side menu

    Congratulations you have done it!

    Please check your file permission from your hosting panel. The permission must be 0755 for file/folder. If you are using a vps(virtual private server) then you must ensure that the owner of your installation is PHP aka www-data

    Fix WordPress Error – Sorry, This File Type Is Not Permitted For Security Reasons

    The WordPress shows this error “Sorry, this file type is not permitted for security reasons” when you try to upload files to your website through admin dashboard. The users are only allowed to upload certain file types to WordPress websites for security reasons. This is to prevent users from uploading executable files to their websites. WordPress allows users to upload only the following file types. If you try to upload any other file types then you get the error message “Sorry, this file type is not permitted for security reasons”.



    .pdf (Portable Document Format; Adobe Acrobat)

    .doc, .docx (Microsoft Word Document)

    .ppt, .pptx, .pps, .ppsx (Microsoft PowerPoint Presentation)

    .odt (OpenDocument Text Document)

    .xls, .xlsx (Microsoft Excel Document)



    .wmv (Windows Media Video)



    There are a number of solutions to fix this security issue. Here I will explain each method to rectify this issue.

    Multisite Settings

    You can fix this security issue very easily if you are using WordPress Multisite. You can add the file type that you want to upload in the “Upload file types “option in WordPress Multisite settings in the network admin area. Please navigate to Network Admin Area >>> Settings >>> Upload Settings and add the necessary file types into it. Ensure that the file types are separated with a space not by a comma.

    WordPress Plugins

    Sometimes this security issue can be caused by any of the active plugins on your website. You need to deactivate plugins in bulk and then try to upload files. If you can upload files by now, then some of your plugins are the culprit. Then try to activate plugins one by one and see if the issue can be recreated. When the same error message displays, you can confirm the last activated plugin is the culprit. Please see our Knowledge Base to activate/deactivate WordPress plugins.

    You can also install and configure any of the following WordPress plugins to allow upload file types.

    1) WP Add Mime Types

    2) Mime Types Extended

    3) Unsafe Mime types

    4) Mime Types Plus

    Allow All File Types

    You can also setup WordPress to allow to upload all file types. This can be performed with the help of a WordPress constant “ALLOW_UNFILTERED_UPLOADS”. You can set the WordPress constant “ALLOW_UNFILTERED_UPLOADS” to true” in wp-config.php file of your WordPress install. The wp-config.php file can be found in the root directory of your WordPress install. Using your favorite editor (vi editor) open the wp-config.php file and add the following line somewhere in the file. You can also use File Manager to edit the WordPress configuration file.

    Don’t forget to save the config file after editing.

    Allow Specific File Types

    If you need only specific file types to be uploaded, add the following code in functions.php of your current WordPress theme. You can find the functions.php in the following location /path/to/Wordpress-root-install/wp-contents/themes/current-theme/functions.php. You can use your favorite editor or File Manager to add this code.

    function enable_extended_upload ( $mime_types =array() ) <

    // The MIME types listed here will be allowed in the media library.

    // You can add as many MIME types as you want.

    // If you want to forbid specific file types which are otherwise allowed,

    // specify them here. You can add as many as possible.

    Please change the above code with required file types to be uploaded.

    I hope this tutorial has helped you fix this security issue.

    If you need any further assistance please contact our support department.

    Leave a Reply

    Your email address will not be published. Required fields are marked *