WordPress image upload problems

If you fail to upload a picture in wordpress, here is the fix. You need to get into your server files using the ftp connection. I prefer WinSCP as ftp uploader/downloader program and this is because you’re able to see even the hidden files or directories on the web server.

Problem: sometime if you want to upload a photo into your blog post you might get an error like “HTTP error”, “An error occurred in the upload. Please try again later” or like in my today issue you couldn’t use any file uploader, flash nor browser uploader. I got stucked because my image goes in gallery every time I tried to uploaded it into the blog post.

Solution:
# open your ftp software and get into public_html folder on your website server (you need to know user/password)

The worpress folder public_html

The worpress folder public_html

# copy .htaccess file onto your computer
# open .htaccess with notepad
# if is nothing in, no line, just copy the next script there and save the document

<ifmodule mod_security.c>  
<files async-upload.php>  
SecFilterEngine Off  
SecFilterScanPOST Off  
</files>  
</ifmodule>

# if is something written in .htaccess file, add my code code after the last line of previous one. Save and exit.
# upload and overwrite the new .htaccess file into the public_html folder onto your website server.

You should be able to upload your image now. Have fun and keep posting good photos ;)

Tags : , , , , , , , ,

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

7 Comments

Leave Comment