How to fix WordPress HTTP Error while uploading media or files

No Comments

If you encounter an HTTP error when you’re uploading the media on WordPress, you need to do some manipulations in your htaccess or your installed theme, as follow:

using one of the FTP client software :

Step 1: verification of server folders permission

connect to your server, using ftp soft and right click on the main folder of your web site, verify the permissions of folders and sub folders, it must be 755.

Step 2 : Using .htaccess file

upload .htaccess file to your desktop and add lines of code bellow, between module tags :

SecFilterEngine Off
SecFilterScanPOST Off

the code must be as shown bellow:

Http error when uploading media on wordpress

Step 3: If http error persist. Using ftp – Upload function.php exist in WordPress theme folder and  add the lines bellow to the file.

add_filter( ‘wp_image_editors’, ‘change_graphic_lib’ );
function change_graphic_lib($array) {
return array( ‘WP_Image_Editor_GD’, ‘WP_Image_Editor_Imagick’ );
}

Conclusion

In general the first step can remedy the problem of HTTP Error when uploading media in WordPress (according to experience of the readers of this tutorial and their comments on youtube) ,  if you got rid of this  issue too, reset the permissions in the folders of your server  for more security of your web site.

The post How to fix WordPress HTTP Error while uploading media or files appeared first on Seo advice.

SEO and online marketing have been a passion of mine for 20+ years and I pride myself on helping clients at a budget prices to fit any and all needs.

    About us and this blog

    We are a SEO & digital marketing company with a focus on helping our customers achieve great results across several key areas.

    Request a free quote

    We offer professional SEO services that help websites increase their organic search score drastically in order to compete for the highest rankings even when it comes to highly competitive keywords.

    Subscribe to our newsletter!

    More from our blog

    See all posts

    Leave a Comment