I had the dreaded error 500 message when uploading images and also php5 not being recognised as being installed on 1&1 servers. On trawling the internet I found the solution was to upload a “.htaccess” file to the root directory of my WordPress installation.

The following I pasted into notebook and saved as .htaccess – when uploaded it seemed to solve my problems and has worked on most of my WordPress sites where I have had problems.

 

AddType x-mapp-php5 .php
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

468 ad

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>