How to allow ALL filetypes for Media upload in Wordpress

On your own blog or website, you often don’t care about the Wordpress upload restriction and just want to be able to upload all filetypes, to just upload anyfiletype.

In order to do that, append this line to wp-config.php:


and then, log out from Wordpress and log back in again.

After that, you should be able to upload any file, no matter its file type.