Internal Server Error 500 For WordPress Blog

By

December 20, 2010Wordpress2 Comments

http://s.wordpress.org/style/images/wp3-logo.pngFew days ago I got some minor issues when I installed the latest version of WordPress for one of my blogs. After uploading everything to the server, I created a sample post & and tried to view it as a single post. When I clicked on it I was redirected to Internal Server Error 500 page. There is No problem in moving to index.php but things started to go wrong when i entered single.php. Here’s the full error description :

500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@your-domain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Now some of you may have arrived at this page when you searched for solutions about this error. Basically the error occured because of the following reasons :

1. The file permissions for your WordPress files are incorrect
2. One of the rules in your WordPress .htaccess file. may be incorrect

If error occured because of the 1st reason, you should login to your web hosting account and look at the error log. There is a particular directory that is writeable by group. Change the permission to 755

If error occured because of the 2nd reason, copy this code to your .htaccess file :

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

2 Responses to “Internal Server Error 500 For WordPress Blog”
  1. WP-User says:

    Thank you for this information.
    Could you please provide some samples for ‘look at the error log’? Where exactly I have to look? Which directory is ‘usually’ the one I have to change the permission?

  2. Shankar says:

    Error log is the part of server (Apache). If something went wrong in the code you can check the error log of server to find out what goes wrong. you should give 755 permission for whole WP directory.

Leave a Reply