{"id":66,"date":"2014-02-18T23:28:22","date_gmt":"2014-02-18T23:28:22","guid":{"rendered":"http:\/\/xuan.guru\/?p=66"},"modified":"2014-02-18T23:29:54","modified_gmt":"2014-02-18T23:29:54","slug":"wordpress-cant-upload-exe-files","status":"publish","type":"post","link":"https:\/\/xuan.co.uk\/?p=66","title":{"rendered":"WordPress, can&#8217;t upload .exe files"},"content":{"rendered":"<p>WordPress only accepts general images, video and document formats,\u00a0If you try to upload any other file type you will get security warning Sorry, this file type is not permitted for security reasons.<\/p>\n<p>To quickly allow, add this to your\u00a0\u00a0<strong>wp-config.php<\/strong><\/p>\n<p>define(&#8216;ALLOW_UNFILTERED_UPLOADS&#8217;, true);<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress only accepts general images, video and document formats,\u00a0If you try to upload any other file type you will get security warning Sorry, this file type is not permitted for security reasons. To quickly allow, add this to your\u00a0\u00a0wp-config.php define(&#8216;ALLOW_UNFILTERED_UPLOADS&#8217;, true);<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[11],"class_list":["post-66","post","type-post","status-publish","format-standard","hentry","category-tech-tips","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/66","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=66"}],"version-history":[{"count":2,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/66\/revisions"}],"predecessor-version":[{"id":68,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/66\/revisions\/68"}],"wp:attachment":[{"href":"https:\/\/xuan.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=66"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=66"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=66"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}