Pages

Monday, 21 May 2012

Fix Wordpress HTTP Error during Media upload






I recently had problem with my blog. Whenever I tried to upload any media to the blog from a file on my computer, it would give me an error message saying "HTTP Error." which was not at all helpful to troubleshoot the problem. Then, I had to search ways to solve this issue. There were a lot of talks about that error on the internet but I found out few ways that proved helpful on my blog. I tried them on different WordPress installations on my blog. And two of them worked and solved the problem! The Cache problem was not for my blog, but might help you!



Then, I was eager to share how you could do the same on your blog in case you face any errors! And here I am sharing the solution to the "HTTP Error." on WordPress during media upload! Out of the two solutions that I am going to share with you, one of them would definitely work! But still if you face any problems, feel free to contact me or share your problem in the comments below!

Fix WordPress HTTP Error on your Blog:



  1. Clear your Cache: The first and the best option is to clear your browser cache. Sometimes due to presence of this cache, your blog is not able to function properly! First try this out and then proceed to the second or the third option.

  2. Re-install WordPress on your blog: The most common solution to the problem was to re-install WordPress on your blog. But, it requires taking backup of your blog completely and then restoring that backup! This is quite a tedious task and may require expert help. You can re-install WordPress by going to your WordPress Dashboard -> Updates and choosing Re-install now. This will re-install WordPress for you and in turn would replace the file that was causing the error. You can also manually re-install your WordPress Installation by going to your cPanel and deleting all the WordPress files on your server and then re-uploading them to the server by downloading the latest WordPress from its official website.

  3. Using .htaccess: A htaccess file is basically a configuration files that is used on Apache based servers, pretty much all the servers these days. You can simply assign configuration for a folder or website in the .htaccess file. Now, for this process you are going to need your cPanel access. Open up your cPanel(Tip: You  can browse http://your-website.com:2082 to open cPanel directly!) and then log in. Next, browse to the wp-admin folder in your WordPress installation and click new file from the menu. Name the file as ".htaccess", without the quotes, and then select the file and choose edit. Paste the following into the file and save it. Your problem would have been solved!
    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>



I hope that you were able to solve your problem with media upload. If you still have some problem, feel free to ask it out in the comments section below or using the contact me page! Keep subscribed to TechHive to know more about various technology tips and tricks!

0 comments:

Post a Comment