Sunday, April 24, 2011

Wordpress HTTP Error on Image Upload after Crunching - Fixed

Hi Folks, In Wordpress while uploading a file sometime you may encounter an HTTP Error while crunching file.
Usually this error can be resolved by adding a line of code in htaccess file.

.htaccess file
# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress



Edit your htaccess file and add the last line of code.
# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

AddType x-mapp-php5 .php .php4

Your htaccess file will look like above. Upload it to your wordpress site root.
Try It !! Best of Luck...

4 comments:

PraveenRockz said...

Not working for me

PraveenRockz said...

Not working... i tried the upper code bt still not working

Anonymous said...

Doesn't work.

Aravind NC said...

It should work !!!
It worked fine for me

Popular Posts