WordPress 2.5 came with many enhancements but somewhere down the lane, the documentation failed to keep with the updates. There have been issues where certain users were not able to upload images to their post and have filled up the online support forums asking for a solution.

The answer is actually simple. Just copy and past the following lines of code (without the quotes)to your .htaccess file and you’ll be a happy camper. It is just a simple issue of granting security access to the Ajax module.

<ifmodule mod_security.c>
<files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</files>
</ifmodule>

Happy Blogging

Tags:

One Response to “WP Ajax Image Upload Issue”

  1. AHA! After attempting several other fixes, this one finally worked.

    Thanks!

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>