File type does not meet security guidelines. Try another.

This is another annoying message you can get when you’re trying to upload a file which it not complying with the wordpress security rules. So, how can you upload an executable file (.exe), a pdf or another similar file onto your wordpress?

To do this go to your ftp account, open .htaccess (use notepad) and add a similar line. I have been used an example for uploading an .ipa file but you can change to whatsoever type of file you want. Enjoy!

AddType application/octet-stream .ipa

e.g.:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
AddType application/octet-stream .ipa

Tags : , , , , , , ,

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

2 Comments

Leave Comment