How to Fix the HTTP File Upload Error in WordPress

How to Fix the HTTP File Upload Error in WordPress?
Today, I encountered an HTTP blunders when importing record (a pdf) to WordPress on-line page. While editing a post or page, on clicking 'Add Media', the record seems to upload subsequently of the verified fact that the improvement bar progresses but after a long time WordPress suggests HTTP blunders. In this post, I would possibly maybe like to share how I resolved or constant the HTTP File Upload Error in WordPress.

The HTTP blunders on record upload:

After a slight Google seek, I furthermore tried the resolution to feature a line in .htaccess as per this post How to Fix the HTTP Image Upload Error in WordPress nevertheless it did now not paintings in my case. As per the post, the resolution is to feature the line " SetEnv MAGICK_THREAD_LIMIT 1" inside the .htaccess record.
Steps to feature the line " SetEnv MAGICK_THREAD_LIMIT 1" inside the .htaccess record:

Sponsored Links

After editing the .htacess record, the HTTP blunders have to now not take location. However, even after applying the above resolution, it did now not paintings in my case. So reverted differences made.
After exploring a number plugins, the HTTP Error on record upload used to be resolved after disabling automatic smush photos on upload inside the WP SMUSH plugin settings. Though the HTTP blunders furthermore occured on upload of pdf or doc data, I am now not detailed why the WP SMUSH which solely applies to photos resolved the HTTP blunders on upload for PDFs and ther data too.

At Plugins > WP SMUSH > Settings
Automatic Smush
Disable automatically smush my photos on upload
Update Settings



Log into the on-line page manage panel dashboard (cpanel, plesk and so forth.)
Using the record manager, navigate to the WordPress website's root directory.
Locate and open the .htaccess record for editing.
Add applicable here line of code at the a lot wise of the record: SetEnv MAGICK_THREAD_LIMIT 1
Save the differences to the .htaccess record.

After disabling automatic smush of photos on upload, the HTTP blunders on upload used to be resolved. Tested with an upload of a PDF record and it labored.
If you are furthermore going utilizing the HTTP blunders on upload theme in WordPress and also you'll have to have won won WP SMUSH plugin established, then you actually furthermore can have a have a look at disabling the automatic smush on upload and have a visual attraction at if it works for you.
How to Fix the HTTP File Upload Error in WordPress

Image source: http://www.besthostinganddesign.com/wp-content/uploads/2015/10/Fix-Googlebot-cannot-access-CSS-and-JS-files-error.jpg

Labels: Blogging Tips

Thanks for reading How to Fix the HTTP File Upload Error in WordPress. Please share...!

0 Comment for "How to Fix the HTTP File Upload Error in WordPress"

Back To Top