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

January 12, 2021 by
Don’t Panic! Solving the "File Type Not Permitted" Error in WordPress Ever tried to upload a file to your WordPress site, only to be slapped with the dreaded message: “Sorry, this file type is not permitted for security reasons”? It’s frustrating, right? You might think, “¿Qué pasó?” Did I just try to upload something dangerous? […]

Don’t Panic! Solving the "File Type Not Permitted" Error in WordPress

Ever tried to upload a file to your WordPress site, only to be slapped with the dreaded message: “Sorry, this file type is not permitted for security reasons”? It’s frustrating, right? You might think, “¿Qué pasó?” Did I just try to upload something dangerous? Is my site in trouble? Don’t worry, amigo. This message is just WordPress giving you a heads-up that the file type you’re trying to upload isn’t allowed.

In this chat, let’s dig into why you’re seeing this error and, more importantly, how to fix it without losing your cool.

Understanding the “File Type Not Permitted” Error

Picture this: You’re loading your website with dreams of growing your business online, and instead of success, you hit a wall. This error pops up because WordPress has a list of file types it supports for safety reasons. If you stray from that list, you’ll be met with this message.

For example, if you attempt to upload a new image format like AVIF, which is still shaking things up in the tech world but isn’t widely recognized yet, you’ll get that error. WordPress is like that cautious friend who won’t let you try the new dish at a restaurant because they’re worried it’ll make you sick.

Let’s take a closer look at what file types WordPress does allow!

Common WordPress File Types

You can share and upload various file types on WordPress, but they need to fit into specific categories. Understanding these can save you from frustration.

Images

  • .jpg
  • .jpeg
  • .png
  • .gif

Documents

  • .pdf
  • .doc, .docx
  • .ppt, .pptx
  • .xls, .xlsx

Audio

  • .mp3
  • .wav

Video

  • .mp4, .m4v
  • .mov
  • .wmv

WordPress also lets you upload HTML files, but it’s best not to upload videos directly. They can eat up storage and slow your site down. Instead, consider using a video hosting service – it’s like letting someone else do the heavy lifting while you sit pretty.

Got an Error? Let’s Fix It!

If you want to skip the hassle of that error message, let’s explore some easy solutions to get back to business:

1. Double-Check Your File Extension

This might sound simple, but sometimes we accidentally save files in the wrong format. Before diving into settings, make sure your file’s extension is correct. If you tried uploading a .jpg but saved it as .avi, that’s going to trigger the error.

2. Adjust Multisite Network Settings

If you’re running a network of sites with WordPress Multisite, you can easily allow additional file types through your settings. Head over to Settings > Network Settings, scroll down to Upload Settings, and add the file extension you need.

Multisite Network Settings

If you’re using a single site, don’t worry, we have other solutions for you.

3. Edit Your wp-config.php File

Want to allow any file type to be uploaded? You can add a single line of code to your wp-config.php file. Just remember to back it up first! Here’s how:

  • Get into your File Manager via the hosting control panel.
  • Find the public_html folder and locate wp-config.php.
  • Paste this line above /* That’s all, stop editing! Happy blogging. */:
    php
    define(‘ALLOW_UNFILTERED_UPLOADS’, true);

  • Save the changes and log back in.

This gives you a wide-open door, but it’s safer to specify what you want!

4. Use the functions.php File

For stricter control, you can extend uploads in the functions.php file. Add MIME types using a filter. After editing, you can allow specific file types like SVGs easily!

5. Plugin Power

Don’t want to mess with code? No problem! You can use plugins like WP Add Mime Types or File Upload Types by WPForms. They simplify the process:

  1. Install and activate the plugin.
  2. Go to Settings > File Upload Types.
  3. Check the extensions you want to add and save.

6. Time to Call for Help

If all else fails, don’t hesitate to reach out to your hosting provider. They might have stricter limits and can help navigate the situation better.

Closing Thoughts: Secure Your Uploads

While it’s tempting to bypass these restrictions, think about security — especially for your business in McAllen. Uploading any file type can open the gate to malware and potential threats.

Being selective about file types keeps your site safe from malicious intrusions. Always make sure to upload files from trusted sources and regularly scan for malware.

Want a website that does more than just sit there? A professional, custom-built site from a trusted local provider can make a world of difference in your marketing, lead conversion, and sales strategies.

Ready to upgrade your online game? Let’s talk! Contact Ericks Webs Design today, and let’s build something that truly works for your business!

Source:
https://blog.hubspot.com/website/file-type-not-permitted-security-reasons

Your Dream Website Is Just One Click Away

At Ericks Webs Design, we believe every business deserves a stunning online presence — without the stress. We offer flexible payment options, a friendly team that truly cares, and expert support every step of the way.

Whether you’re a small business owner, a church, or a growing brand, we’re here to bring your vision to life.

✨ Let’s build something amazing together.

— no pressure, just possibilities.

Latest News & Website Design Tips

Stay up-to-date with the latest insights, trends, and tips in business website design. Explore our newest articles to discover strategies that can help you elevate your online presence and grow your business.

Why Your Website is Your #1 Sales Tool in 2025

Why Your Website is Your #1 Sales Tool in 2025

The article “Why Your Website is Your #1 Sales Tool in 2025” highlights the importance of having an effective website as the key to driving sales for small businesses. It emphasizes that a well-designed website acts as a digital storefront, attracting customers with engaging content rather than clutter. With studies showing that consumers prefer informative articles over advertisements, businesses should focus on solid branding, SEO, and mobile-friendliness. Regular updates and maintenance are crucial to keep the site relevant. Ultimately, the article stresses that your website is your number one sales tool in 2025, urging small businesses to invest attention and care in their online presence.

Track & Improve Conversions with These Tools

Track & Improve Conversions with These Tools

The article “Track & Improve Conversions with These Tools” emphasizes the importance of transitioning casual website visitors into loyal customers for small and medium businesses in South Texas. It discusses leveraging tools like Google Analytics to understand audience behavior, A/B testing to optimize calls-to-action, and Hotjar to enhance user engagement. The article also highlights the role of social proof through testimonials and the significance of defining a unique selling proposition (USP) to stand out in a competitive market. With the right strategies and tools, businesses can effectively track and improve conversions, ensuring a successful online presence.

Capture More Leads with Popups (Without Being Annoying)

Capture More Leads with Popups (Without Being Annoying)

The article “Capture More Leads with Popups (Without Being Annoying)” explains how business owners can effectively use popups to attract leads while maintaining a positive user experience. Rather than appearing immediately, popups should be timed to appear after visitors engage with the site. Clear, friendly messaging and relevant offers tailored to site content are essential. Incentives, such as discounts, can encourage email sign-ups by fostering relationships. Testing various popup styles and ensuring they reflect the brand’s personality can enhance user connection. Ultimately, when used thoughtfully, popups can be a powerful tool for capturing more leads without being intrusive.

How to Use Social Proof to Drive Sales

How to Use Social Proof to Drive Sales

The article “How to Use Social Proof to Drive Sales” emphasizes leveraging social proof to enhance online presence and drive sales for local businesses. It highlights the importance of customer reviews, encouraging satisfied clients to share their experiences on platforms like Google and Facebook. Utilizing social media to showcase success stories and engaging with the audience is also recommended. Creating detailed case studies can provide evidence of results, while showcasing accolades and community involvement builds trust. Overall, businesses can harness social proof to strengthen relationships, establish credibility, and ultimately boost sales in a competitive digital landscape.

5 Website CTAs That Work Every Time

5 Website CTAs That Work Every Time

The article “5 Website CTAs That Work Every Time” emphasizes the importance of effective Call to Actions (CTAs) for improving website engagement. It highlights five key CTAs: “Get Your Free Quote Today!” encourages initial interaction; “Subscribe for Exclusive Tips & Tricks!” builds an email list while providing value; “Let’s Chat!” makes reaching out easy; “Check Out Our Portfolio” showcases previous work to build trust; and “Join Our Community” fosters a sense of belonging. The piece underscores that well-crafted CTAs transform a passive website into an engaging platform, ultimately boosting customer interaction and loyalty.

The Psychology Behind High-Converting Website Design

The Psychology Behind High-Converting Website Design

The article “The Psychology Behind High-Converting Website Design” highlights the importance of an effective website for boosting local businesses. It emphasizes that first impressions are crucial, as users form opinions within 50 milliseconds. Key elements for high-converting website design include visual hierarchy, clean layouts, and color psychology to evoke emotions. Engaging content is essential; it should resonate with the audience, tell stories, and feature clear calls to action. Building trust through easy navigation, social proof, and secure sites is vital for converting visitors into customers. Finally, the website should be adaptive, regularly updated to reflect new information and keep visitors engaged.

Create a Landing Page That Converts Like Crazy

Create a Landing Page That Converts Like Crazy

The article “Create a Landing Page That Converts Like Crazy” emphasizes the importance of an effective landing page for businesses of all sizes. It outlines key strategies to enhance conversions, starting with understanding your audience’s language and preferences. The author recommends using clear headlines, engaging visuals, and strong calls to action. Building trust through social proof, ensuring mobile responsiveness, and optimizing for SEO are also highlighted as crucial elements. Finally, the importance of monitoring analytics for continuous improvement is stressed. The article encourages business owners to collaborate with web design experts to create landing pages that truly convert.

Lead Magnets You Can Add to Your Website Today

Lead Magnets You Can Add to Your Website Today

The article “Lead Magnets You Can Add to Your Website Today” discusses how small business owners can enhance their online presence by using lead magnets. A lead magnet is an incentive, like a freebie, offered in exchange for a visitor’s email address. Suggested lead magnets include e-books, checklists, free trials, discount codes, webinars, and email courses, all designed to attract and engage potential customers. The article emphasizes the importance of making lead magnets easily accessible on your website and using analytics for performance tracking. It encourages businesses to embrace these strategies to convert visitors into lifelong customers, ultimately contributing to their growth.

Why You’re Losing Clients Without a Strong Homepage

Why You’re Losing Clients Without a Strong Homepage

The article “Why You’re Losing Clients Without a Strong Homepage” emphasizes the critical role of a well-designed homepage in attracting and retaining clients. It likens a confusing homepage to a messy store, which can drive potential customers away. A strong homepage should provide clear information about your offerings and resonate with the community, including using local visuals and language options. It’s vital to ensure mobile-friendliness and keep content updated to maintain engagement. A compelling homepage serves as a professional welcome mat for visitors, significantly impacting client retention. In summary, a strong homepage is essential for business success, especially in competitive markets like South Texas.