Cant View Uploaded Word Doc File in Wordpress

Are yous seeing 'Distressing, this file blazon is not permitted for security reasons' fault in WordPress?

You can upload most common file types in WordPress without any fault. Withal, you lot may run into this error if the file blazon is not supported by WordPress.

In this article, nosotros volition show you how to easily ready 'Sorry, this file blazon is not permitted for security reasons' fault in WordPress.

Fixing the File type is not permitted for security reasons error in WordPress

What Causes the "Sorry, This File Type Is Not Permitted for Security Reasons" Error?

The error "Sorry, this file type is not permitted for security reasons" appears when y'all try to upload a file type that WordPress does not support.

You may take seen this error message announced when trying to add a new file in your Media Library.

Uploading a file in Media Library that shows the file not permitted security message

For security reasons, WordPress restricts the file types yous tin can upload through your WordPress admin. The permitted file types include all mutual images, video, document, and sound formats.

I solution to fix this problem is to upload the files through FTP or your WordPress hosting file director department.

However, it is not as convenient every bit using the built-in WordPress media library.

So let'due south take a look at how to fix the "Sorry, this file type is not permitted for security reasons" error in WordPress.

  • Check and fix file type extension spelling
  • Allow new file types in WordPress with File Upload Types plugin
  • Keeping your website secure when allowing additional file types

Check and Fix the File Type Extension Spelling

If you are trying to upload a common file type that you have previously uploaded without seeing this mistake, so it is likely that you have misspelled the file extension.

A file extension is the iii or iv letter filetype suffix that appears at the end of file names on your figurer. For instance, an paradigm file may exist named holidayphoto.png where holidayphoto is the file proper name and png is the extension.

These extensions are used by many programs and applications including WordPress to recognize file types. Following are the default file types and extensions allowed past WordPress:

Images: .png, .gif, .jpg, .jpeg, .ico
Documents: .pdf, .md, .docx, .xls, .xlsx, .ppt, .pptx, .pps, .ppsx, .odt, .psd
Audio: .wav, .mp3, .m4a, .ogg
Video: .mp4, .m4v, .mpg, .mov, .wmv, .avi, .ogv, .3gp, .3g2

Tip: Although you tin upload videos to WordPress, we ever recommend uploading your videos to a video hosting site instead. This helps protect your website'due south speed and performance.

When y'all get this fault, the first thing we recommend is checking the file extension to brand sure it is right. Sometimes, y'all may accidentally delete a file name extension or mistype it while editing or saving a file on your computer.

On Windows x, you can hands check file extensions. But open the folder that contains your file and click on the 'View' link at the top of the window. From here, yous demand to check the 'File name extensions' box.

Setting file extensions to display after your filenames

After checking that box, you lot will at present see the extension after file names.

The file extension is now displaying

Note: This will show the extension for all files on your computer, not just the ones in this folder.

Mac users tin view file extensions by opening the Finder app and going to Finer » Preferences from the summit menu.

Show file extension on Mac

This will bring upwardly the Preferences popup where you lot need to click on the 'Advanced' tab and brand certain that the box next to 'Testify all filename extensions' option is checked.

Now that you can view the file proper noun extensions, locate the file you were trying to upload and make sure it has the correct extension.

If the extension is incorrect, then you can simply right-click and select the 'Rename' selection to change the file proper noun and add the correct extension.

Allow New File Types in WordPress with the File Upload Types Plugin

If you are uploading a file type that is not supported by WordPress, then you can even so upload information technology by adding information technology equally a supported file type.

The File Upload Types plugin is the easiest way to set up the "Distressing, this file blazon is not permitted for security reasons" error. This was co-created by WPBeginner'due south founder, Syed Balkhi.

First, you need to install and activate the File Upload Types plugin. For more details, see our pace by step guide on how to install a WordPress plugin.

Upon activation, get to the Settings » File Upload Types folio in your WordPress admin area. Then, simply blazon your file type into the search box.

Search for the file type you want to enable

Next, check the box next to the file blazon(south) that you lot want to enable and click on the 'Salve Settings' button at the bottom of the screen to store your changes.

Enabling your chosen file type in File Upload Types

Now, go ahead and return to the media library. You will be able to add together your file(s) without getting an error message.

Successfully uploading your file without getting a security error message

Keeping Your WordPress Site Secure When Permitting Additional File Types

The reason WordPress blocks many file types is to help continue your WordPress website secure.

When you enable additional file types, we strongly propose that y'all take some security measures to protect your site.

You should:

  • Restrict not-registered users, so they can just upload the file types that they demand to upload. The best way to practise this is with a file upload grade.
  • Use a WordPress security plugin to monitor your site for vulnerabilities.
  • Regularly scan your WordPress site for potentially malicious code.
  • Consider limiting the size of uploaded files to stop users from uploading large files that may contain malware.
  • Add user activity logging, and then yous accept records of which user uploaded which file

Nosotros hope this article helped you learn how to ready the "Sorry, this file blazon is not permitted for security reasons" mistake in WordPress. You lot may as well want to meet our practiced pick of the must-have WordPress plugins for your website, and bookmark our ultimate guide on how to gear up almost mutual WordPress errors.

If you lot liked this commodity, then please subscribe to our YouTube Channel for WordPress video tutorials. Yous can as well find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you lot click on some of our links, then we may earn a committee. Encounter how WPBeginner is funded, why it matters, and how you can support us.

hoganfroving.blogspot.com

Source: https://www.wpbeginner.com/wp-tutorials/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress/

Belum ada Komentar untuk "Cant View Uploaded Word Doc File in Wordpress"

Posting Komentar

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel