Guides › WordPress › Security & hacks

WordPress 'Sorry, This File Type Is Not Permitted for Security Reasons'

WordPress restricts file types.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Security and hacking

Options

  1. Use supported types.
  2. For SVG use a trusted plugin that sanitizes.
  3. Do not allow all types.

Related guides

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-21.