I have a wordpress site for a photographer. Someone was doing some simple CSS changes when the dreaded error 500 appeared. The site doesn't load and wp-admin results in this: http://www.tetphotography.com/wp-admin/
Error 500 - Internal server error
An internal server error has occured!
Please try again later.
My host is 1and1. I have had similar problems before and so modified the .htaccess file. It now looks like this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !http://www.tetphotography.com
RewriteRule (wp-content/uploads.*\.(gif|jpg|jpeg|png)$) http://www.tetphotography.com/wp-content/plugins/hotlink-protection/forbid.png [L]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Options All -Indexes
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
# END WordPress
I also created a php.ini file with the content:
memory=20MB
Unfortunately, none of these fixes have resolved the issue. I'm a little confused since visiting the site itself just results in a blank page: http://www.tetphotography.com/. Only the WP-Admin produces the error 500.
1and1 support weren't great. They had this to say:
Thank you for contacting us.
We tried to check the version of php running on that website and it is now showing php 5.2.14 but still the admin panel shows error 500.
Normally, parsing to php 5 is the solution but in your case it won't work. We tried to check your .htaccess file and you got some rewrite rule in it.
Have you asked wordpress for inputs about this? Can you please ask them first for some advice on what we need to check here on our servers?
Technically, we don't know how wordpress was built and its structure.If you have any further questions please do not hesitate to contact us.
Much appreciation if anyone can help me here, or even just take a minute to point me in the right direction?
Thanks
Mark