Pages

Sunday, May 8, 2011

Wordpress HTTP Error on Image Upload after Crunching - Fixed


Hi Guys, 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.

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.