If You Want Stripe Ads To Appear On Top Of Your Blog & Make Money - Click Here!
Powered by MaxBlogPress  
Home » Wordpress

HTTP error on insert image with WP2.5 version

17 August 2008 907 views No Comment

There is a simple fix for “HTTP error” message when you insert image into your post while working with wp2.5 version.

It involves inserting the following script into your .htaccess file.

<IfModule mod_security.c>

<Files async-upload.php>

SecFilterEngine Off

SecFilterScanPOST Off

</Files>

</IfModule>

Do not be frighten by this “.htaccess file” as it is really very easy to insert the script fix. Below are the steps:

Step 1. Before you begin to add the additional script into the .htaccess file, download (use a FTP program) a copy of the existing .htaccess file from your server into your computer as a backup. (In case something goes wrong after you have added the additional script, you can always upload (using FTP) this original .htaccess file back to your server, replacing the non-working .htaccess file).

Step 2. Make a copy of the .htaccess file and place it into another folder as your computer would not allow you to have two identical file name in the same folder.

Step 3: Insert the above script. For the full instruction, go to this site.

Step 4: Upload the .htaccess file (with additional script) into your server, placing the existing .htaccess file.

Once done, the above fix should enable you to insert images into your post.

Do not be surprised that you will not be able to add images into your post (http error displayed) a few weeks down the road as your WordPress may overwrite your .htaccess file, resulting in your additional script fix being deleted. (To prevent your .htaccess file from being overwritten, you may wish to read this article.

If the above happens, use your FTP program to download a copy of the .htaccess file and check whether the script fix is still there. If otherwise, use the above prescribed steps to insert the additional script again (or retrieve a backup copy of the .htaccess file with the script fix) and upload the .htaccess file to your server.

I hope this article is helpful in solving your problem of inserting images into your post.

If you like this post, please consider subscribing to this site’s RSS feed. You can also subscribe by email and any new posts will be sent directly to your inbox.


Leave your response!

You must be logged in to post a comment.