WordPress HTTP Error

Have you ever encountered with the WordPress HTTP Error while uploading images to media library? I bet you did. Even I also faced the same error, but my error was a little bit different than the others. And literally, I scratched all my hairs as I was trying to fix this issue for some couple of months. But couldn’t get it resolved and I stopped fixing it anymore. Do you want to do the same? I guess not.

Well actually my issue was not the hard one but it was kinda troublesome. Though it doesn’t throw HTTP error to me while uploading images to the media library of WordPress but it does hit me with the HTTP error when I upload the images through some gallery plugin. And this was killing me very badly.

But you don’t have to kill yourself as today I will show you some of the easiest fixes to the error which will save your ass. Some of these errors might be the cause of the configurations you made in security and firewall plugins like Sucuri Security, BulletProof Security, Wordfence Security, Better WP Security and much more.

So in order to make your WordPress running absolutely fine, you need to look into the following things:-

1. If you have installed some security plugins like iThemes SecurityBetter WordPress Security….. so what happens is that when you install and configure such security plugins the rules are added in the .htaccess files which reside in your website directory. And because of such rules, it might be the case that it is restricting any media uploads.

Fix: – So what you need to do is to navigate to your site directory via FTP or via logging into your site’s cPanel. Once you have logged in navigate to the assets folder and you will see the .htaccess file. Open that file and remove all the rules from the file (leave it blank) and save it. Now try uploading the media file again and see whether it works or not for you.

2. If you’re having issues uploading images and getting the HTTP error – while crunching.

Fix: – Log into your site’s directory via FTP and Create an empty plugins folder

* Navigate to the assets folder (directory)

* Rename the folder “plugins” to “plugins. Hold”

* Create new folder called “plugins”

* Login to your WordPress administration menu

* Go to your Plugin Menu.. all your plugins will “break”

* Reload the page, all your plugins are gone

* Now via FTP delete the empty “plugins” you previously created

* Now.. rename “plugins.hold” back to “plugins”

* Reload your plugins admin page.. all plugins are back

*Now, try uploading an image.. and it will be uploaded successfully with no more HTTP error!

* Now, re-activate your plugins (bulk). All your settings for each plug-in should still be there.