allowing custom file extensions to be uploaded to wordpress

WordPress restricts types of files you can upload. it not only checks the extension of what you’re adding to the media library but also its mime type. so you cannot fool it by uploading .exe renamed to .jpeg – if you try it, you’ll get an error saying: “Sorry, this file type is not permitted …

Continue reading ‘allowing custom file extensions to be uploaded to wordpress’ »

unwanted wordpress trackback spam

today i’ve learned that disabling trackback in wordpress’s settings > discussion [ ] Allow link notifications from other blogs (pingbacks and trackbacks) on new articles is not enough. your old posts, created before the date when this check-box was un-ticked, will still allow trackback which might be spammy. solution? adjust the trackback setting on per-post …

Continue reading ‘unwanted wordpress trackback spam’ »

wordpress hangs when uploading an image

i’ve moved my wordpress to a new server few weeks ago. all appeared to work fine but i forgot changing the configuration and providing new upload dir path. result? the media page [ wp-admin/upload.php ] did not open and apache2 appeared to be hanged using 100% cpu. i could not add any media in the …

Continue reading ‘wordpress hangs when uploading an image’ »