Wordpress 2.5 Image Upload Error And Fix
I recommended Wordpress as a publishing platform for your blog. If you downloaded and installed the latest version (2.5.1) you might have some troubles uploading media to your host.
I had this error to and I had to search a lot to find a fix.
So … to make things easier to you here’s what you have to do.
First of all you login to your FTP account, and look for a file called .htaccess
Now if you already have a .htaccess file there download it, open it with any text editor and place this code in it. If there is some other code in the file make sure the code below above everything.
<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>
In case you need to create a .htaccess file yourself just put the code and upload it back to your server.
Try uploading an image now.
It worked, didn’t it ?