{"id":51772,"date":"2022-04-28T15:38:35","date_gmt":"2022-04-28T12:38:35","guid":{"rendered":"https:\/\/themeisle.com\/blog\/?p=51772"},"modified":"2022-04-28T15:38:37","modified_gmt":"2022-04-28T12:38:37","slug":"fix-sorry-this-file-type-is-not-permitted-for-security-reasons","status":"publish","type":"post","link":"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/","title":{"rendered":"How to Fix &#8220;Sorry, This File Type is Not Permitted for Security Reasons.&#8221;"},"content":{"rendered":"\n<p>Did you encounter the dreaded \u201c<strong>Sorry, this file type is not permitted for security reasons<\/strong>.\u201d error on your WordPress website? \ud83e\udd14<\/p>\n\n\n\n<p>Don\u2019t worry, it\u2019s a <a href=\"https:\/\/themeisle.com\/blog\/wordpress-errors\/\">common error<\/a> that occurs when you are uploading a file type that WordPress does not support. Fortunately, there is a way to bypass this restriction. <\/p>\n\n\n\n<p>\ud83d\udc68\u200d\ud83c\udf93 In this article, we will show you <a href=\"#upload\">how to upload restricted file types<\/a> by installing a plugin or making manual modifications on your site.  <\/p>\n\n\n\n<!--more-->\n\n\n\n<p>We&#8217;ll also share a fix specifically for WordPress multisite networks, though most of our fixes are focused on regular WordPress installs.<\/p>\n\n\n\n<p>No matter which method you choose, it will only take a couple of minutes to set up, and you&#8217;ll be able to fix the  \u201c<strong>Sorry, this file type is not permitted for security reasons<\/strong>\u201d error for good. <\/p>\n\n\n\n\t\t<div class='ti-tweet-clear'><\/div>\n\t\t\t<div class='ti-tweet_wrapper'>\n\t\t    \t<div class='ti-tweet_text'>\n\t\t    \t\t<a href='https:\/\/twitter.com\/share?text=How+to+fix+the+%27file+type+not+permitted%27+%23error+in+%23WordPress+%F0%9F%A4%95&via=themeisle&related=themeisle&url=https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/' target='_blank' rel='nofollow'>How to fix the 'file type not permitted' #error in #WordPress \ud83e\udd15<\/a>\n\t\t    \t<\/div>\n\t\t    \t<div class='ti-tweet_sharebtn'>\n\t\t    \t<a href='https:\/\/twitter.com\/share?text=How+to+fix+the+%27file+type+not+permitted%27+%23error+in+%23WordPress+%F0%9F%A4%95&via=themeisle&related=themeisle&url=https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/' target='_blank' rel='nofollow'>Click To Tweet \n\t\t    \t\t<span><\/span>\n\t\t    \t<\/a>\n\t\t    <\/div>\n\t\t<\/div>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">What causes the \u201c<strong>Sorry, this file type is not permitted for security reasons<\/strong>.\u201d error?<\/h2>\n\n\n\n<p>By default, WordPress only lets you upload a limited selection of file types:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Document:<\/strong> .pdf, .doc, .docx, .ppt, .pptx, .pps, .ppsx, .odt, .xls, .xlsx, .psd<\/li><li><strong>Images:<\/strong> .jpg, .jpeg, .png, .gif, .webp, .ico<\/li><li><strong>Video:<\/strong> .mp4, .m4v, .mov, .wmv, .avi, .mpg, .ogv, .3gp, .3g2<\/li><li><strong>Audio:<\/strong> .mp3, .m4a, .ogg, .wav<\/li><\/ul>\n\n\n\n<p>The restriction exists to prevent hackers from exploiting files on your website. \ud83d\udd12\ufe0f<\/p>\n\n\n\n<p>Certain file types like SVG are vulnerable and can be corrupted easily because these file formats were not created with security in mind. So if you upload them to your website, hackers will exploit the files to gain access to your site. That\u2019s why WordPress allows only a handful of file types to be uploaded to a website. <\/p>\n\n\n\n<p>If you try to upload a restricted file type, it shows you the \u201c<strong>sorry, this file type is not permitted for security reasons<\/strong>.\u201d error. <\/p>\n\n\n\n<p>That said, occasionally, you may have to upload restricted file types despite the risks involved. <\/p>\n\n\n\n<p>In the next section, we are going to show you how to bypass restrictions and upload any file type you want on your WordPress website. And be sure to check out the final section, where you\u2019ll learn how to <a href=\"https:\/\/themeisle.com\/blog\/wordpress-security-tips\/\">keep your WordPress site secure from hackers<\/a> after enabling the upload of restricted file types. \ud83d\ude0e<\/p>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"upload\">How to upload restricted file types on your WordPress website?<\/h2>\n\n\n\n<p>You can upload restricted file types on your WordPress website by adding a code snippet to your core WordPress files or by installing a plugin. If you are running a multisite, then WordPress also gives an option to remove restrictions on file types. <\/p>\n\n\n\n<p>But before we get down to fixing the problem, take a <a href=\"https:\/\/themeisle.com\/blog\/backup-a-wordpress-site-for-free\/\">backup of your entire site<\/a>. With a backup in place, you can carry out modifications on your website without worry. If anything goes wrong, you can quickly <a href=\"https:\/\/themeisle.com\/blog\/restore-wordpress-from-backup\/\">restore your site back<\/a> to normal. <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"#plugin\">Use a plugin to change WordPress file upload types<\/a><\/li><li><a href=\"#wp-config\">Edit wp-config.php file (Allow all file types)<\/a><\/li><li><a href=\"#functions\">Edit theme\u2019s functions.php file (Allow specific file types)<\/a><\/li><li><a href=\"#settings\">Change network settings (Multisite only)<\/a><\/li><li><a href=\"#convert\">Convert restricted files<\/a><\/li><\/ul>\n\n\n<div class=\"su-divider su-divider-style-default\" style=\"margin:40px 0;border-width:15px;border-color:#4267cf\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"plugin\">Use a plugin to change WordPress file upload types<\/h3>\n\n\n\n<p>Using a plugin is the easiest way to enable the upload of restricted file types. <\/p>\n\n\n\n<p><strong>Install and activate<\/strong> the free File Upload Types plugin on your WordPress website. <\/p>\n\n\n<div class=\"wp-pic-wrapper align-center large\" style=\"margin:20px 0;\"><div class=\"wp-pic large plugin wp-pic-ajax scheme2\"  id=\"wp-pic-file-upload-types\"data-type=\"plugin\" data-slug=\"file-upload-types\" data-image=\"\" data-expiration=\"\"  data-layout=\"large\" data-slugs=\"[]\" ><div class=\"wp-pic-body-loading\"><div class=\"signal\"><\/div><\/div><\/div><\/div><!-- .wp-pic-wrapper--><link rel='stylesheet' id='dashicons-css' href='https:\/\/themeisle.com\/blog\/wp-includes\/css\/dashicons.min.css?ver=6.8.5' type='text\/css' media='all' \/>\n<link rel='stylesheet' id='wppic-style-css' href='https:\/\/themeisle.com\/blog\/wp-content\/plugins\/wp-plugin-info-card\/dist\/wppic-styles.css?ver=6.1.1' type='text\/css' media='all' \/>\n<script type=\"text\/javascript\" src=\"https:\/\/themeisle.com\/blog\/wp-includes\/js\/jquery\/jquery.min.js?ver=3.7.1\" id=\"jquery-core-js\"><\/script>\n<script type=\"text\/javascript\" src=\"https:\/\/themeisle.com\/blog\/wp-includes\/js\/jquery\/jquery-migrate.min.js?ver=3.4.1\" id=\"jquery-migrate-js\"><\/script>\n<script type=\"text\/javascript\" id=\"wppic-script-js-extra\">\n\/* <![CDATA[ *\/\nvar wppicAjax = {\"ajaxurl\":\"https:\\\/\\\/themeisle.com\\\/blog\\\/wp-admin\\\/admin-ajax.php\"};\n\/* ]]> *\/\n<\/script>\n<script type=\"text\/javascript\" src=\"https:\/\/themeisle.com\/blog\/wp-content\/plugins\/wp-plugin-info-card\/assets\/js\/wppic-script.min.js?ver=6.1.1\" id=\"wppic-script-js\"><\/script>\n\n\n\n\n<p>Next, go to <strong>Settings \u2192 File Upload Types<\/strong>. A list of file types will appear on the screen. Select the ones you want to enable.<\/p>\n\n\n\n<p>Then, hit the <strong>Save Settings<\/strong> button and try uploading your file on your site.<\/p>\n\n\n\n<div class=\"wp-block-image blog-img-std\"><figure class=\"aligncenter size-full\"><img data-opt-id=1223588220  fetchpriority=\"high\" decoding=\"async\" width=\"1343\" height=\"917\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-upload-types-by-WPForms-setting.png\" alt=\"file upload types by WPForms setting\" class=\"wp-image-51775\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1343\/h:917\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-upload-types-by-WPForms-setting.png 1343w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:205\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-upload-types-by-WPForms-setting.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:699\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-upload-types-by-WPForms-setting.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:524\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-upload-types-by-WPForms-setting.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:34\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-upload-types-by-WPForms-setting.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:351\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-upload-types-by-WPForms-setting.png 351w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:581\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-upload-types-by-WPForms-setting.png 581w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:879\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-upload-types-by-WPForms-setting.png 879w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:217\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-upload-types-by-WPForms-setting.png 217w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:286\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-upload-types-by-WPForms-setting.png 286w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:198\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-upload-types-by-WPForms-setting.png 198w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1343\/h:917\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-upload-types-by-WPForms-setting.png 2x\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption>Adding file types to WordPress site<\/figcaption><\/figure><\/div>\n\n\n\n<p>If you don&#8217;t see the file type that you need in the list, the plugin also lets you add your own custom file types.<\/p>\n\n\n\n<p>If you don\u2019t want to install another plugin on your WordPress website then go for the manual methods.<\/p>\n\n\n<div class=\"su-divider su-divider-style-default\" style=\"margin:40px 0;border-width:15px;border-color:#4267cf\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"wp-config\">Edit wp-config.php file (Allow all file types)<\/h3>\n\n\n\n<p>Another way to enable restricted file types on WordPress is to edit your site&#8217;s wp-config.php file.<\/p>\n\n\n\n<p>However, there&#8217;s an important caveat for this method:<\/p>\n\n\n\n<p>If you use it, you will be enabling <em>all<\/em> file types at once, which might not be a good thing for your situation. If you only need to enable a single file type, we recommend the manual method in the next section, which allows for a more targeted approach.<\/p>\n\n\n\n<p>The wp-config file is located in your website\u2019s root folder, i.e., the public_html folder. You can access the file by <a href=\"https:\/\/themeisle.com\/blog\/what-is-ftp-wordpress\/\">connecting to your server via FTP<\/a> or via cPanel File Manager if your host offers <a href=\"https:\/\/themeisle.com\/blog\/what-is-cpanel\/\">cPanel<\/a>.<\/p>\n\n\n\n<p>Here&#8217;s how it works using cPanel. The basic idea will be the same for using FTP.<\/p>\n\n\n\n<p>Log in into your hosting account and go to <strong>cPanel<\/strong> and select <strong>File Manager<\/strong>.<\/p>\n\n\n\n<p>When the file manager opens, go to <strong>public_html \u2192 wp-config.php<\/strong>. <strong>Right-click<\/strong> on the file and select <strong>Edit<\/strong>. <\/p>\n\n\n\n<div class=\"wp-block-image blog-img-std\"><figure class=\"aligncenter size-full\"><img data-opt-id=1167826998  fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"725\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:725\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/wp-config-file-in-publichtml-folder.png\" alt=\"wp-config file in publichtml folder\" class=\"wp-image-51777\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:725\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/wp-config-file-in-publichtml-folder.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:212\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/wp-config-file-in-publichtml-folder.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:544\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/wp-config-file-in-publichtml-folder.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:35\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/wp-config-file-in-publichtml-folder.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:339\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/wp-config-file-in-publichtml-folder.png 339w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:561\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/wp-config-file-in-publichtml-folder.png 561w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:847\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/wp-config-file-in-publichtml-folder.png 847w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:209\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/wp-config-file-in-publichtml-folder.png 209w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:275\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/wp-config-file-in-publichtml-folder.png 275w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:191\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/wp-config-file-in-publichtml-folder.png 191w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1237\/h:876\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/wp-config-file-in-publichtml-folder.png 1237w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1237\/h:876\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/wp-config-file-in-publichtml-folder.png 2x\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption>Locating wp-config file<\/figcaption><\/figure><\/div>\n\n\n\n<p>Then scroll down to the end of the file and insert the following code snippet above the \u201c\/* That\u2019s all, stop editing! Happy blogging. *\/\u201d line:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>define('ALLOW_UNFILTERED_UPLOADS', true);<\/code><\/pre>\n\n\n\n<p><strong>Save<\/strong> the changes. <\/p>\n\n\n\n<p>Now, open your website and <strong>log out and sign back in<\/strong>. You should now be able to upload restricted files to your WordPress website. <\/p>\n\n\n\n<div class=\"wp-block-image blog-img-std\"><figure class=\"aligncenter size-full\"><img data-opt-id=159195401  fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"727\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:727\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-wp-config-file.png\" alt=\"editing wp-config file to remove &quot;sorry, this file type is not permitted for security reasons.&quot; error\" class=\"wp-image-51774\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:727\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-wp-config-file.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:213\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-wp-config-file.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:545\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-wp-config-file.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:36\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-wp-config-file.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:338\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-wp-config-file.png 338w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:559\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-wp-config-file.png 559w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:845\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-wp-config-file.png 845w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:208\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-wp-config-file.png 208w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:275\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-wp-config-file.png 275w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:190\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-wp-config-file.png 190w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1245\/h:884\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-wp-config-file.png 1245w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1245\/h:884\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-wp-config-file.png 2x\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption>Editing wp-config file<\/figcaption><\/figure><\/div>\n\n\n<div class=\"su-divider su-divider-style-default\" style=\"margin:40px 0;border-width:15px;border-color:#4267cf\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"functions\">Edit theme\u2019s functions.php file (Allow specific file types)<\/h3>\n\n\n\n<p>If you&#8217;d prefer the manual route but with a more targeted approach, you can also edit your theme&#8217;s <strong>functions.php<\/strong> file to specify which file types you want to allow uploading on your website.<\/p>\n\n\n\n<p>Alternatively, you can also use a plugin like the free Code Snippets plugin, which provides a simpler way of managing the types of code snippets that you add to the <strong>functions.php<\/strong> file.<\/p>\n\n\n<div class=\"wp-pic-wrapper align-center large\" style=\"margin:20px 0;\"><div class=\"wp-pic large plugin wp-pic-ajax scheme2\"  id=\"wp-pic-code-snippets\"data-type=\"plugin\" data-slug=\"code-snippets\" data-image=\"\" data-expiration=\"\"  data-layout=\"large\" data-slugs=\"[]\" ><div class=\"wp-pic-body-loading\"><div class=\"signal\"><\/div><\/div><\/div><\/div><!-- .wp-pic-wrapper-->\n\n\n\n<p>If you want to use the <strong>functions.php<\/strong> file directly instead of using Code Snippets, it&#8217;s essential that you <a href=\"https:\/\/themeisle.com\/blog\/wordpress-child-themes\/\">set up a child theme first<\/a>. Otherwise, your changes will be overwritten the next time you update your theme.<\/p>\n\n\n\n<p>Here&#8217;s how it works to edit the functions.php file &#8211; but if you&#8217;re using Code Snippets, all you need to do is add the same code snippet via the plugin&#8217;s interface.<\/p>\n\n\n\n<p>The <strong>functions.php<\/strong> file is located in the <strong>wp-content\/themes<\/strong> folder inside the folder of your child theme. You can access the file via FTP or cPanel File Manager.<\/p>\n\n\n\n<p>If using cPanel, log in into your hosting account and go to <strong>cPanel<\/strong> and select <strong>File Manager<\/strong>.<\/p>\n\n\n\n<p>When the file manager opens, go to <strong>public_html \u2192 wp-content \u2192 themes.<\/strong> Then open the child theme that is active on your site and select the <strong>functions.php<\/strong> file found inside the folder of the theme. Right-click on the file and select <strong>Edit<\/strong>. <\/p>\n\n\n\n<p>Scroll to the end of the functions.php file and add the following code snippet:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>function my_custom_mime_types( $mimes ) {\n\/\/ New allowed mime types.\n$mimes&#091;'svg'] = 'image\/svg+xml';\n$mimes&#091;'svgz'] = 'image\/svg+xml';\n$mimes&#091;'doc'] = 'application\/msword';\n\/\/ Optional. Remove a mime type.\nunset( $mimes&#091;'exe'] );\nreturn $mimes;\n}\nadd_filter( 'upload_mimes', 'my_custom_mime_types' );<\/code><\/pre>\n\n\n\n<p><strong>Save<\/strong> these changes before exiting the file. <\/p>\n\n\n\n<p>In the above code, we informed WordPress to allow uploading of the svg and doc file types. You can modify the code and add your desired file type. <\/p>\n\n\n\n<div class=\"wp-block-image blog-img-std\"><figure class=\"aligncenter size-full\"><img data-opt-id=1153949559  data-opt-src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:733\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png\"  decoding=\"async\" width=\"1024\" height=\"733\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:733\/q:eco\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png\" alt=\"editing function file to remove &quot;sorry, this file type is not permitted for security reasons.&quot; error\" class=\"wp-image-51773\" old-srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:733\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:215\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:550\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:36\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:335\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 335w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:554\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 554w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:838\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 838w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:207\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 207w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:272\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 272w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:189\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 189w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1247\/h:893\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 1247w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1247\/h:893\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 2x\" \/><noscript><img data-opt-id=1153949559  decoding=\"async\" width=\"1024\" height=\"733\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:733\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png\" alt=\"editing function file to remove &quot;sorry, this file type is not permitted for security reasons.&quot; error\" class=\"wp-image-51773\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:733\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:215\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:550\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:36\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:335\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 335w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:554\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 554w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:838\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 838w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:207\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 207w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:272\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 272w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:189\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 189w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1247\/h:893\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 1247w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1247\/h:893\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/editing-function-file.png 2x\" sizes=\"(max-width: 700px) 100vw, 700px\" \/></noscript><figcaption>Editing function.php file<\/figcaption><\/figure><\/div>\n\n\n<div class=\"su-divider su-divider-style-default\" style=\"margin:40px 0;border-width:15px;border-color:#4267cf\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"settings\">Change network settings (Multisite only)<\/h3>\n\n\n\n<p>To enable the upload of restricted file types in <a href=\"https:\/\/themeisle.com\/blog\/set-up-wordpress-multisite\/\">WordPress multisite<\/a>, you need to open your WordPress dashboard, go to <strong>Settings \u2192 Network Settings,<\/strong> and scroll down to the <strong>Upload file type<\/strong> option. <\/p>\n\n\n\n<p>On the right of that option, there is an input field. You will need to <strong>add the extension of the file<\/strong> you want to upload to your website and then <strong>save your settings<\/strong>. That\u2019s it. <\/p>\n\n\n<div class=\"su-divider su-divider-style-default\" style=\"margin:40px 0;border-width:15px;border-color:#4267cf\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"convert\">Convert restricted files<\/h3>\n\n\n\n<p>If none of the above methods have worked for some reason, you can try converting the file that you failed to upload to your website into a file type that isn\u2019t restricted by WordPress. <\/p>\n\n\n\n<p>There are several free conversion tools that\u2019ll help you with the conversion like <a href=\"https:\/\/convertio.co\/\" target=\"_blank\" rel=\"noopener\">Convertio<\/a>, <a href=\"https:\/\/www.online-convert.com\/\" target=\"_blank\" rel=\"noopener\">Online-Convert<\/a>, <a href=\"https:\/\/cloudconvert.com\/\" target=\"_blank\" rel=\"noopener\">CoundConvert<\/a>, etc. <\/p>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">How to secure your WordPress site after removing file type restrictions<\/h2>\n\n\n\n<p>After removing restrictions on file types, you need to ensure that hackers don\u2019t exploit the files to gain access to your website. You can protect your website by installing a security plugin and limiting the file upload size. <\/p>\n\n\n\n<p>Malicious files are heavy. If you prevent uploading large files to your website, you reduce the chances of a potential hack attack. <\/p>\n\n\n\n<p>To limit file upload size, install this plugin on your website:<\/p>\n\n\n<div class=\"wp-pic-wrapper align-center large\" style=\"margin:20px 0;\"><div class=\"wp-pic large plugin wp-pic-ajax scheme2\"  id=\"wp-pic-wp-maximum-upload-file-size\"data-type=\"plugin\" data-slug=\"wp-maximum-upload-file-size\" data-image=\"\" data-expiration=\"\"  data-layout=\"large\" data-slugs=\"[]\" ><div class=\"wp-pic-body-loading\"><div class=\"signal\"><\/div><\/div><\/div><\/div><!-- .wp-pic-wrapper-->\n\n\n\n<p>Then go to <strong>Media \u2192 Increase Upload Limit<\/strong> and choose the lowest file size.<\/p>\n\n\n\n<p>A WordPress security plugin will protect your website with the help of a firewall. It\u2019ll scan your site on a daily basis looking into every nook and corner to check for malicious files. If it finds any sign of malware, the tool will clean your website immediately. <\/p>\n\n\n\n<p>\u26a0 If you don\u2019t have a security plugin installed on your website, check out our review of the <a href=\"https:\/\/themeisle.com\/blog\/wordpress-security-plugins\/\">best WordPress security plugins<\/a>. <\/p>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><a href=\"#\" style=\"color:#999999\">Go to top<\/a><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Final thoughts on fixing the \u201c<strong>Sorry, this file type is not permitted for security reasons<\/strong>\u201d error<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>WordPress restricts the types of files that you can upload to your site for security reasons. When you try to upload a file type that isn\u2019t allowed by WordPress, you encounter the \u201c<strong>sorry, this file type is not permitted for security reasons<\/strong>\u201d error. <\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n\t\t<div class='ti-tweet-clear'><\/div>\n\t\t\t<div class='ti-tweet_wrapper'>\n\t\t    \t<div class='ti-tweet_text'>\n\t\t    \t\t<a href='https:\/\/twitter.com\/share?text=How+to+fix+the+%27file+type+not+permitted%27+%23error+in+%23WordPress+%F0%9F%A4%95&via=themeisle&related=themeisle&url=https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/' target='_blank' rel='nofollow'>How to fix the 'file type not permitted' #error in #WordPress \ud83e\udd15<\/a>\n\t\t    \t<\/div>\n\t\t    \t<div class='ti-tweet_sharebtn'>\n\t\t    \t<a href='https:\/\/twitter.com\/share?text=How+to+fix+the+%27file+type+not+permitted%27+%23error+in+%23WordPress+%F0%9F%A4%95&via=themeisle&related=themeisle&url=https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/' target='_blank' rel='nofollow'>Click To Tweet \n\t\t    \t\t<span><\/span>\n\t\t    \t<\/a>\n\t\t    <\/div>\n\t\t<\/div>\n<\/div>\n<\/div>\n\n\n\n<p>To fix this issue, you can install a plugin or modify the <strong>wp-config.php<\/strong> or <strong>functions.php<\/strong> files to allow the uploading of restricted file types.<\/p>\n\n\n\n<p>You also need to make sure that hackers don\u2019t exploit the files to gain access to your site. Using a security plugin and limiting the size of files that users upload to your site will help protect your website. <\/p>\n\n\n\n<p>That\u2019s it for this one folks! If you encounter any other errors on WordPress, <a href=\"https:\/\/themeisle.com\/blog\/\">check our blog<\/a> for tutorials on how to remove and prevent those errors.<\/p>\n\n\n<style>.ticss-d144f107 strong{font-weight: 700;\n    letter-spacing: -0.2px;\n    line-height: 1.2;\n    display: inline-block;}<\/style>\n\n\n<div class=\"wp-block-columns speed-guide has-white-color has-text-color has-background has-link-color wp-elements-2f81f6c5526477b5b4d52d1ca4513949 is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\" style=\"background-color:#4267cf\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:40%\">\n<figure class=\"wp-block-image size-medium\"><img data-opt-id=30701221  data-opt-src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png\"  decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:eco\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png\" alt=\"speed guide\" class=\"wp-image-113040\" old-srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:1024\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:150\/h:150\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 150w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:768\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:50\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:240\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 240w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:397\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 397w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:600\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 600w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:148\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 148w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:195\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 195w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:135\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 135w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1080\/h:1080\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 1200w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1080\/h:1080\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 2x\" \/><noscript><img data-opt-id=30701221  decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png\" alt=\"speed guide\" class=\"wp-image-113040\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:1024\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:150\/h:150\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 150w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:768\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:50\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:240\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 240w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:397\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 397w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:600\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 600w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:148\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 148w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:195\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 195w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:135\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 135w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1080\/h:1080\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 1200w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1080\/h:1080\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 2x\" sizes=\"(max-width: 300px) 100vw, 300px\" \/></noscript><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-text-align-center ticss-58e79f2f\" style=\"font-size:14px\"><strong>FREE GUIDE<\/strong><\/p>\n\n\n\n<p class=\"ticss-d144f107\" style=\"font-size:25px\"><strong>4 Essential Steps to Speed Up Your&nbsp;WordPress Website<\/strong><\/p>\n\n\n\n<p class=\"ticss-3b627beb\">Follow the simple steps in our 4-part mini series and reduce your loading times by 50-80%.&nbsp;\ud83d\ude80<\/p>\n\n\n<p><div class=\"frm_forms  with_frm_style frm_style_themeisle\" id=\"frm_form_4_container\" data-token=\"31a8875208f15c35e09cc7683cde123d\">\n<form enctype=\"multipart\/form-data\" method=\"post\" class=\"frm-show-form  frm_pro_form \" id=\"form_site-speed-guide-below-post\" data-token=\"31a8875208f15c35e09cc7683cde123d\">\n<div class=\"frm_form_fields \">\n<fieldset>\n<legend class=\"frm_screen_reader\">Site Speed Guide - Below Post<\/legend>\r\n\r\n<div class=\"frm_fields_container\">\n<input type=\"hidden\" name=\"frm_action\" value=\"create\" \/>\n<input type=\"hidden\" name=\"form_id\" value=\"4\" \/>\n<input type=\"hidden\" name=\"frm_hide_fields_4\" id=\"frm_hide_fields_4\" value=\"\" \/>\n<input type=\"hidden\" name=\"form_key\" value=\"site-speed-guide-below-post\" \/>\n<input type=\"hidden\" name=\"item_meta[0]\" value=\"\" \/>\n<input type=\"hidden\" id=\"frm_submit_entry_4\" name=\"frm_submit_entry_4\" value=\"55e2af24a4\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/blog\/wp-json\/wp\/v2\/posts\/51772\" \/><input type=\"hidden\" name=\"item_meta[18]\" id=\"field_6px6q2\" value=\"\/blog\/wp-json\/wp\/v2\/posts\/51772\"  data-frmval=\"\/blog\/wp-json\/wp\/v2\/posts\/51772\"   \/>\n<div id=\"frm_field_15_container\" class=\"frm_form_field form-field  frm_required_field frm_none_container\">\r\n\t<label for=\"field_6px6q\" id=\"field_6px6q_label\" class=\"frm_primary_label\">Your Email\r\n\t\t<span class=\"frm_required\" aria-hidden=\"true\">*<\/span>\r\n\t<\/label>\r\n\t<input type=\"email\" id=\"field_6px6q\" name=\"item_meta[15]\" value=\"\"  autocomplete=\"email\"  placeholder=\"your@email.com\" data-reqmsg=\"Your Email cannot be blank.\" aria-required=\"true\" data-invmsg=\"Your Email is invalid\" aria-invalid=\"false\"  \/>\r\n\t\r\n\t\r\n<\/div>\n<div id=\"frm_field_17_container\" class=\"frm_form_field form-field  frm_none_container vertical_radio\">\r\n\t<div  id=\"field_6px6q3_label\" class=\"frm_primary_label\">Subscribe to our newsletter\r\n\t\t<span class=\"frm_required\" aria-hidden=\"true\"><\/span>\r\n\t<\/div>\r\n\t<div class=\"frm_opt_container\" aria-labelledby=\"field_6px6q3_label\" role=\"group\">\t\t<div class=\"frm_checkbox\" id=\"frm_checkbox_17-0\">\t\t\t<label  for=\"field_6px6q3-0\">\n\t\t\t<input type=\"checkbox\" name=\"item_meta[17][]\" id=\"field_6px6q3-0\" value=\"true\"  data-invmsg=\"Subscribe to our newsletter is invalid\" aria-invalid=\"false\"   \/> Subscribe to our newsletter<\/label><\/div>\n<\/div>\r\n\t\r\n\t\r\n<\/div>\n<div id=\"frm_field_14_container\" class=\"frm_form_field form-field \">\r\n\t<div class=\"frm_submit frm_flex\">\r\n<button class=\"frm_button_submit frm_final_submit\" type=\"submit\"   formnovalidate=\"formnovalidate\">FREE ACCESS<\/button>\r\n\r\n\r\n\r\n<\/div>\r\n<\/div>\n\t<input type=\"hidden\" name=\"item_key\" value=\"\" \/>\n\t\t\t<div id=\"frm_field_24_container\">\n\t\t\t<label for=\"field_8g19i\" >\n\t\t\t\tIf you are human, leave this field blank.\t\t\t<\/label>\n\t\t\t<input  id=\"field_8g19i\" type=\"text\" class=\"frm_form_field form-field frm_verify\" name=\"item_meta[24]\" value=\"\"  \/>\n\t\t<\/div>\n\t\t<input name=\"frm_state\" type=\"hidden\" value=\"tGKtIG19U6wyYcew8uBttbPiQ\/9mTmpptXtMtrB8Hc8wF9M0QAXa6pd1+Qu8+H8p\" \/><\/div>\n<\/fieldset>\n<\/div>\n\n<p style=\"display: none !important;\" class=\"akismet-fields-container\" data-prefix=\"ak_\"><label>&#916;<textarea name=\"ak_hp_textarea\" cols=\"45\" rows=\"8\" maxlength=\"100\"><\/textarea><\/label><input type=\"hidden\" id=\"ak_js_1\" name=\"ak_js\" value=\"134\"\/><script>document.getElementById( \"ak_js_1\" ).setAttribute( \"value\", ( new Date() ).getTime() );<\/script><\/p><\/form>\n<\/div>\n<\/p>\n<\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"Did you encounter the dreaded \u201cSorry, this file type is not permitted for security reasons.\u201d error on your WordPress website? Don\u2019t worry, it\u2019s a common error that occurs when you are uploading a file type that WordPress does not support. Fortunately, there is a way to bypass this restriction.","protected":false},"author":63,"featured_media":52064,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_stopmodifiedupdate":false,"_modified_date":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[272],"tags":[],"hashtags":[],"class_list":["post-51772","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-tutorials"],"wppr_data":{"cwp_meta_box_check":"No"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.8 (Yoast SEO v26.1.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Fix &quot;Sorry, This File Type is Not Permitted for Security Reasons.&quot;<\/title>\n<meta name=\"description\" content=\"Here&#039;s how to solve the &ldquo;Sorry, this file type is not permitted for security reasons.&rdquo; error and use restricted file types on your site.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix &quot;Sorry, This File Type is Not Permitted for Security Reasons.&quot;\" \/>\n<meta property=\"og:description\" content=\"Here&#039;s how to solve the &ldquo;Sorry, this file type is not permitted for security reasons.&rdquo; error and use restricted file types on your site.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/\" \/>\n<meta property=\"og:site_name\" content=\"Themeisle Blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-28T12:38:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-28T12:38:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-type-is-not-permitted.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2180\" \/>\n\t<meta property=\"og:image:height\" content=\"1090\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Sufia Banu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@sufiabanu91\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sufia Banu\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/\"},\"author\":{\"name\":\"Sufia Banu\",\"@id\":\"https:\/\/themeisle.com\/blog\/#\/schema\/person\/7442500a5d172321bf16397f6247e37c\"},\"headline\":\"How to Fix &#8220;Sorry, This File Type is Not Permitted for Security Reasons.&#8221;\",\"datePublished\":\"2022-04-28T12:38:35+00:00\",\"dateModified\":\"2022-04-28T12:38:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/\"},\"wordCount\":1735,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/themeisle.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-type-is-not-permitted.png\",\"articleSection\":[\"WordPress Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/\",\"url\":\"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/\",\"name\":\"How to Fix \\\\\\\"Sorry, This File Type is Not Permitted for Security Reasons.\\\\\\\"\",\"isPartOf\":{\"@id\":\"https:\/\/themeisle.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-type-is-not-permitted.png\",\"datePublished\":\"2022-04-28T12:38:35+00:00\",\"dateModified\":\"2022-04-28T12:38:37+00:00\",\"description\":\"Here\\\\'s how to solve the \u201cSorry, this file type is not permitted for security reasons.\u201d error and use restricted file types on your site.\",\"breadcrumb\":{\"@id\":\"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/#primaryimage\",\"url\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-type-is-not-permitted.png\",\"contentUrl\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-type-is-not-permitted.png\",\"width\":2180,\"height\":1090,\"caption\":\"file type is not permitted\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/themeisle.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Fix &#8220;Sorry, This File Type is Not Permitted for Security Reasons.&#8221;\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/themeisle.com\/blog\/#website\",\"url\":\"https:\/\/themeisle.com\/blog\/\",\"name\":\"Themeisle Blog\",\"description\":\"WordPress Tutorials and Reviews for Beginners and Advanced\",\"publisher\":{\"@id\":\"https:\/\/themeisle.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/themeisle.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/themeisle.com\/blog\/#organization\",\"name\":\"VertiStudio\",\"alternateName\":\"Vertigo Studio SA\",\"url\":\"https:\/\/themeisle.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/themeisle.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2024\/02\/VertiStudio_logo1.png\",\"contentUrl\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2024\/02\/VertiStudio_logo1.png\",\"width\":718,\"height\":156,\"caption\":\"VertiStudio\"},\"image\":{\"@id\":\"https:\/\/themeisle.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/themeisle.com\/blog\/#\/schema\/person\/7442500a5d172321bf16397f6247e37c\",\"name\":\"Sufia Banu\",\"description\":\"Sufia is a writer with 10 years of solid experience in writing, content marketing, and on-page SEO. She has a master\\\\'s degree in Mass Communication &amp; Journalism and specializes in writing about WordPress, plugins, themes, and WooCommerce. Her work has been published across numerous WordPress blogs and they have helped many WordPress businesses draw better traffic and skyrocket their sales revenue.\",\"sameAs\":[\"https:\/\/sufiabanu.com\/\",\"https:\/\/www.linkedin.com\/in\/sufia-banu\",\"https:\/\/x.com\/sufiabanu91\"],\"knowsAbout\":[\"WordPress\",\"Blogging\/Content Marketing\",\"Editing\",\"Content Strategy\",\"On-Page SEO\"],\"knowsLanguage\":[\"English\",\"Bengali\",\"Hindi\"],\"jobTitle\":\"Content Writer\",\"url\":\"https:\/\/themeisle.com\/blog\/author\/sufia\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Fix &quot;Sorry, This File Type is Not Permitted for Security Reasons.&quot;","description":"Here&#039;s how to solve the &ldquo;Sorry, this file type is not permitted for security reasons.&rdquo; error and use restricted file types on your site.","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:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/","og_locale":"en_US","og_type":"article","og_title":"How to Fix &quot;Sorry, This File Type is Not Permitted for Security Reasons.&quot;","og_description":"Here&#039;s how to solve the &ldquo;Sorry, this file type is not permitted for security reasons.&rdquo; error and use restricted file types on your site.","og_url":"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/","og_site_name":"Themeisle Blog","article_published_time":"2022-04-28T12:38:35+00:00","article_modified_time":"2022-04-28T12:38:37+00:00","og_image":[{"width":2180,"height":1090,"url":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-type-is-not-permitted.png","type":"image\/png"}],"author":"Sufia Banu","twitter_card":"summary_large_image","twitter_creator":"@sufiabanu91","twitter_misc":{"Written by":"Sufia Banu","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/#article","isPartOf":{"@id":"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/"},"author":{"name":"Sufia Banu","@id":"https:\/\/themeisle.com\/blog\/#\/schema\/person\/7442500a5d172321bf16397f6247e37c"},"headline":"How to Fix &#8220;Sorry, This File Type is Not Permitted for Security Reasons.&#8221;","datePublished":"2022-04-28T12:38:35+00:00","dateModified":"2022-04-28T12:38:37+00:00","mainEntityOfPage":{"@id":"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/"},"wordCount":1735,"commentCount":0,"publisher":{"@id":"https:\/\/themeisle.com\/blog\/#organization"},"image":{"@id":"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/#primaryimage"},"thumbnailUrl":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-type-is-not-permitted.png","articleSection":["WordPress Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/","url":"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/","name":"How to Fix \\\"Sorry, This File Type is Not Permitted for Security Reasons.\\\"","isPartOf":{"@id":"https:\/\/themeisle.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/#primaryimage"},"image":{"@id":"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/#primaryimage"},"thumbnailUrl":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-type-is-not-permitted.png","datePublished":"2022-04-28T12:38:35+00:00","dateModified":"2022-04-28T12:38:37+00:00","description":"Here\\'s how to solve the \u201cSorry, this file type is not permitted for security reasons.\u201d error and use restricted file types on your site.","breadcrumb":{"@id":"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/#primaryimage","url":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-type-is-not-permitted.png","contentUrl":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/04\/file-type-is-not-permitted.png","width":2180,"height":1090,"caption":"file type is not permitted"},{"@type":"BreadcrumbList","@id":"https:\/\/themeisle.com\/blog\/fix-sorry-this-file-type-is-not-permitted-for-security-reasons\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/themeisle.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Fix &#8220;Sorry, This File Type is Not Permitted for Security Reasons.&#8221;"}]},{"@type":"WebSite","@id":"https:\/\/themeisle.com\/blog\/#website","url":"https:\/\/themeisle.com\/blog\/","name":"Themeisle Blog","description":"WordPress Tutorials and Reviews for Beginners and Advanced","publisher":{"@id":"https:\/\/themeisle.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/themeisle.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/themeisle.com\/blog\/#organization","name":"VertiStudio","alternateName":"Vertigo Studio SA","url":"https:\/\/themeisle.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/themeisle.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2024\/02\/VertiStudio_logo1.png","contentUrl":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2024\/02\/VertiStudio_logo1.png","width":718,"height":156,"caption":"VertiStudio"},"image":{"@id":"https:\/\/themeisle.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/themeisle.com\/blog\/#\/schema\/person\/7442500a5d172321bf16397f6247e37c","name":"Sufia Banu","description":"Sufia is a writer with 10 years of solid experience in writing, content marketing, and on-page SEO. She has a master\\'s degree in Mass Communication &amp; Journalism and specializes in writing about WordPress, plugins, themes, and WooCommerce. Her work has been published across numerous WordPress blogs and they have helped many WordPress businesses draw better traffic and skyrocket their sales revenue.","sameAs":["https:\/\/sufiabanu.com\/","https:\/\/www.linkedin.com\/in\/sufia-banu","https:\/\/x.com\/sufiabanu91"],"knowsAbout":["WordPress","Blogging\/Content Marketing","Editing","Content Strategy","On-Page SEO"],"knowsLanguage":["English","Bengali","Hindi"],"jobTitle":"Content Writer","url":"https:\/\/themeisle.com\/blog\/author\/sufia\/"}]}},"_links":{"self":[{"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/posts\/51772","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/comments?post=51772"}],"version-history":[{"count":11,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/posts\/51772\/revisions"}],"predecessor-version":[{"id":52065,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/posts\/51772\/revisions\/52065"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/media\/52064"}],"wp:attachment":[{"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/media?parent=51772"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/categories?post=51772"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/tags?post=51772"},{"taxonomy":"hashtags","embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/hashtags?post=51772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}