Nexym
  • Business
  • Finance
  • Technology
  • Health
  • Life
  • More
    • Auto
    • Food
    • Health
    • Home
    • Space
    • Travel

Subscribe to Updates

Get the latest creative news from FooBar about art, design and business.

What's Hot
Flywheel Logo

Flywheel review in 2023

June 8, 2023
Mutual funds are a popular way to invest in today's stock market. Learn what mutual funds are and how they work, as well as their benefits and drawbacks.

What are mutual funds and how to use them

October 1, 2023
Learn more about Daylight Saving Time (DST), why it exists, how we came up with this idea, and why some countries don't follow DST.

Daylight Saving Time: How did we start changing clock

September 30, 2023
Facebook X (Twitter) Instagram
Nexym
  • Business
    Learn more about Daylight Saving Time (DST), why it exists, how we came up with this idea, and why some countries don't follow DST.

    Daylight Saving Time: How did we start changing clock

    September 30, 2023
    protectteamabusivecustomers featureimage min

    How to protect your team from an abusive customer

    September 7, 2023
    Learn the skills you need to become a great content writer. From writing, editing, and researching to storytelling and creative thinking.

    Top skills you need to become a great content writer

    August 20, 2023
    featured business

    How to see the bigger picture in business

    August 9, 2023
    What is a corporation? What does it mean to be incorporated? How do you start one? Read the definition of corporation, learn the different types of corporations and how to incorporate them.

    What is a corporation? Definition, meaning, types and more

    August 8, 2023
  • Finance
    Mutual funds are a popular way to invest in today's stock market. Learn what mutual funds are and how they work, as well as their benefits and drawbacks.

    What are mutual funds and how to use them

    October 1, 2023
    Find out more about the tax implications of your retirement income based on your yearly taxable earnings.

    Do you pay taxes as a retiree if you earn extra money?

    September 9, 2023
    Learn areas to reduce or eliminate your tax obligation when you receive a settlement.

    How to decrease or eliminate your tax burden on lawsuit settlements

    September 8, 2023
    Learn about the IRS TREAS 310 deposit refund from Social Security and how it relates to your tax return.

    What is a Social Security IRS TREAS 310 deposit?

    September 8, 2023
    Find out what's holding up the tax return process and how you can get access to your money faster.

    Learn why your tax return money is delayed

    September 3, 2023
  • Technology
    Flywheel Logo

    Flywheel review in 2023

    June 8, 2023
    Find out how the Xbox Series S compares to more advanced alternatives! We'll tell you everything you need to know, including specs and features.

    How Xbox Series S compares to more advanced alternatives

    September 9, 2023
    How to embed Tik Tok

    How to embed TikTok videos into your WordPress website

    September 7, 2023
    reviewsitewp featureimage min

    How to build a review site in WordPress

    September 7, 2023
    Choosing color scheme for your website

    How to choose the perfect color scheme for your WordPress website

    September 7, 2023
  • Health
  • Life
    Find out which New Balance running shoes are best for your foot type, and how to match them with the other features you're looking for in a shoe.

    5 of the best New Balance running shoes for each foot type and need

    September 9, 2023
    If you're looking for a stylish and comfortable athletic swimsuit fitted for large breasts, check out our list of the top 10 athletic swimsuits.

    The 10 best athletic swimsuits for larger chests

    September 4, 2023
    Learn about the recent rate hikes by Verizon and AT&T, what this means for consumers and how to keep your cell phone bill in check.

    Inflation has finally caught up with cell phone bills – Verizon and AT&T new increased rates

    September 3, 2023
    Spring is almost here, and Walmart has got you covered with the latest trends! Check out these fabulous finds that won't break the bank!

    Surprise! Walmart has awesome spring fashion items

    August 28, 2023
    Find the perfect birthday messages and quotes for a special friend. Share them with your best friend on their birthday!

    28 creative birthday wishes for your best friend

    August 26, 2023
  • More
    • Auto
    • Food
    • Health
    • Home
    • Space
    • Travel
Facebook X (Twitter) Instagram
Trending
  • Flywheel review in 2023
  • What are mutual funds and how to use them
  • Daylight Saving Time: How did we start changing clock
  • Is life insurance with no medical exam viable for healthy people?
  • Why Ford’s electric F-150 Lightning is excellent for road trips
  • The best outdoor chairs you can find on Amazon
  • Check out these discounts for 7 all-inclusive Caribbean resorts
  • Here are the best shoes for travel and airports
Nexym
Home » Technology » WordPress
WordPress

How to fix the “Sorry, this file type is not permitted for security reasons” WordPress error

Asih TirtaBy Asih TirtaJuly 26, 20233 Mins Read
Facebook Twitter LinkedIn Reddit Telegram WhatsApp Pinterest Email
howtofixfiletypesecurityreasonswperror featureimage
Share
Facebook Twitter LinkedIn

By default, WordPress limits the type of files that you can upload for security reasons.

There are specific file types that WordPress has been configured to support by default.

The defaults files supported include:

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

Any attempts to upload a file that is not listed above will result in a “Sorry, This File Type Is Not Permitted for Security Reasons” error message.

WordPress file type not permitted error message

Screenshot 56

The error is triggered when a user unknowingly tries to upload a file format that is not supported by the WordPress site configuration settings.

For instance, you could be attempting to upload a custom font file in .tff and/or .woff formats, which are not supported by default, triggering the error message.

Nevertheless, you can force your WordPress site to allow file formats not permitted by default by either:

  • Editing your site’s configuration (wp-config.php) file
  • Installing a WordPress Plugin

Permitting more file types using wp-config.php 

The WordPress configuration file (wp-config.php) is a very important file for all self-hosted WordPress websites. This file is located in the root of your WordPress file directory and stores your website’s configuration details.

What better place to change the WordPress configuration setting than with the wp-config.php file.

Since you are going to edit this file also make sure to check out how to edit the WordPress configuration file (wp-config.php).

Once you can comfortably edit the wp-config.php file, proceed to add the following code snippet above the:

/* That’s all, stop editing! Happy blogging. */ line:

define('ALLOW_UNFILTERED_UPLOADS', true);

Once the changes are saved, you’ll be able to upload any file type to your WordPress Media Library.

However, you’ll first need to log out of your WordPress account then immediately log back in to finish the process.

Plugin

The good thing with WordPress is that there is always a chance that there is a plugin to fix a problem.

There are several plugins to resolve the “Sorry, This File Type Is Not Permitted for Security Reasons” error message.

WP Extra File Types plugin

For this article, we will use the free WP Extra File Types plugin to conveniently manage file types permitted without any need to code.

Navigate to plugins on your WordPress dashboard select add new and search for the WP Extra File Type.

Then install and activate it:

Screenshot 57

To manage the types of files that you would like to upload go to settings and select the Extra File Types.

You can then check the box next to the file type(s) that you want your WordPress dashboard to allow for upload:

Screenshot 58

Add custom file types

You can also add your own custom file types at the bottom of the list:

Screenshot 59

That’s about it on how to manage the types of files that can be uploaded to your WordPress site.

People also viewed:

fixinternalservererror featureimageWhat is the 500 Internal Server Error and how to fix it on WordPress 403forbiddenerrorwp featureimageFixing the 403 forbidden error on WordPress 404notfoundpagewp featureimageFixing the 404 Not Found page on WordPress makewpwebsitesecure featureimageHow to make your WordPress site more secure fixbrokenlinkswpwebsite featureimageHow to fix broken links on your WordPress website
error file fix permitted reasons security WordPress
Share. Facebook Twitter LinkedIn Reddit Telegram WhatsApp Pinterest Email
Previous ArticleWhat is the 500 Internal Server Error and how to fix it on WordPress
Next Article The best balance transfer credit cards
Asih Tirta

Asih is a Nexym Technology writer, she is passionate about how technology can serve people and improve lives. She helps run code camps for K to 12 to teach young girls how to code and open doors to careers in tech for women.

Related Stories

403forbiddenerrorwp featureimage

Fixing the 403 forbidden error on WordPress

July 27, 2023
fixinternalservererror featureimage

What is the 500 Internal Server Error and how to fix it on WordPress

July 26, 2023
404notfoundpagewp featureimage

Fixing the 404 Not Found page on WordPress

July 25, 2023
makewpwebsitesecure featureimage

How to make your WordPress site more secure

March 1, 2023

Leave A Reply Cancel Reply

Connect
  • Facebook
  • Twitter
  • Pinterest
  • Instagram
  • YouTube
  • LinkedIn
  • Reddit
  • TikTok
Don't Miss
Flywheel Logo Reviews

Flywheel review in 2023

By Matthew Drummond

Flywheel is a fast-growing web host that offers high-performance WordPress hosting for agencies, designers, and developers.

Mutual funds are a popular way to invest in today's stock market. Learn what mutual funds are and how they work, as well as their benefits and drawbacks.

What are mutual funds and how to use them

October 1, 2023
Learn more about Daylight Saving Time (DST), why it exists, how we came up with this idea, and why some countries don't follow DST.

Daylight Saving Time: How did we start changing clock

September 30, 2023
Learn about the benefits of getting life insurance without a medical exam and determine if it's the right choice.

Is life insurance with no medical exam viable for healthy people?

September 29, 2023
  • Auto
    • Auto Reviews
    • Electric
    • Insurance
  • Business
    • Company
    • Government
  • Entertainment
    • Movies
    • Music
  • Finance
    • Credit Cards
    • Crypto
    • Market
    • Personal Finance
  • Food
    • Coffee
    • Drinks
    • Holidays
  • Health
  • Beauty
  • Fitness
  • Food
  • Medical
  • Home
  • Backyard
  • Bathroom
  • Bedroom
  • Cleaning
  • Furniture
  • Home Office
  • Kitchen
  • Life
  • Astrology
  • Family
  • Fashion
  • Outdoors
  • Personal
  • Pets
  • Apple
  • Audio
  • Domain Names
  • Gaming
  • Google
  • Power
  • Reviews
  • Samsung
  • Destinations
  • Gear
  • Services
  • Space
  • Tourism
  • Technology
  • Tutorials
  • Web Hosting
  • WiFi
  • WordPress
  • Travel
  • Shopping
  • Sports
  • Work
  • Stocks
  • Television
  • Web Hosting
Facebook X (Twitter) Instagram Pinterest YouTube LinkedIn Reddit TikTok
© 2023 Nexym Media

Type above and press Enter to search. Press Esc to cancel.