Problems uploading images to 1and1 hosts : Server error 500

I’ve had lots of problems with a 1and1 WordPress installation and uploading images within Marsedit.

Generally the image was uploaded correctly to the correct location on the host but gave a “Server Error 500” error message. This meant that Marsedit did not insert the link of the image and neither did it show in the Published Images Media Manager

There’s a quick workaround where I manually added the code to insert the image into the blog post. However, whereas the ability to write raw HTML is always handy, in this case it prevented me from finding a proper fix. I think I’ve had this problem for like a year. What a lazy sod!

The proper fix is to ensure that PHP is properly setup. Which is hard when you have little control over the host. So a quick fix is to add some lines for handling PHP script execution to your .htaccess file.

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

– Download that file from your WordPress installation, if it exists.

– Add those line

– Upload the modified file.

Note you may need to change your FTP client’s settings to ensure you see dot/hidden files.

I came across this fix on the wordpress forums.

Technorati Tags:
,

This entry was posted in Computergeekery and tagged , . Bookmark the permalink.