Wordpress Internal Server Error 500
How to fix a 500 Internal Server Error in Wordpress
This tutorial is applicable only to a specific situation. There are several instances wherein Wordpress Installations receive an Internal Server Error (Error 500). This tutorial is limited only to the CHMOD mis-configurations. Please check the parameters before trying the instructions below.
I received a 500 Internal Server Error this afternoon on my batangyagit.com, a wordpress 2.7 blog. A 500 Internal Server Error occurs when there is misconfiguration within your server settings or Apache generates a general error. A 500 Internal Server Error looks similar to this:
What to do when an Internal Server Error Occurs?
- Log Files – Don’t panic. Searching the web for answers without knowing the problem first is not a good idea. You must first know the root of your problem. Check your Log Files. Apache uses several types of log files but the most common are the access and error logs. Check your error log file.
If you get an error similar to this, proceed to the next step:[Sun Mar 22 02:21:01 2009] [error] [client 122.55.206.251] SoftException in Application.cpp:252: File "/public_html/index.php" is writeable by group
This error generates an Internal Server Error since the CHMOD Permission for index.php was set to 777. In my case, the hacker changed all my files’ CHMOD to 777.
- SSH/Telnet – Most web administrators are aware of SSH/Telnet. SSH or Telnet is an application which allows the web administrator to login to the webserver’s shell through a remote terminal. Onced login, it allows the web administrator to manipulate several server parameters such as files and processes among others.If the hacker changed your files’ CHMOD to 777, then you should change it back to its default setting to eliminate the 500 Internal Server Error.From your SSH/Telnet Terminal (Putty.exe), type in the following commands:
find DIRECTORY_NAME -type f | xargs chmod 644find DIRECTORY_NAME -type d | xargs chmod 755These commands will chmod all the files, folders and subdirectories.
Change DIRECTORY_NAME to the target directory, public_html in most cases. - FTP – If you don’t have access to SSH/Telnet, you must manually change the CHMOD of your files from your FTP Application. In most FTP Applications, CHMOD can be found by right-clicking on the desired file(s) and choosing Properties from the menu. Set all folders to CHMOD 755 and all files to CHMOD 644.
- Server Administrator or Web Host – If everything comes to worst, contact your server administrator immediately. Nobody knows best on what to do other than your web host or server adminsitrator.
- Back-up – Don’t forget to back-up after your blog is fixed. Creating a back-up regularly for your site is a good practice. It’s always good to know, if worse comes to worst, that you have a back-up which you can immediately deploy.
![]()
Tagged with: 500 internal server error, chmod 644, error 500, internal server error, wordpress chmod, wordpress errors
4 Responses to “Wordpress Internal Server Error 500”
Leave a Reply


iceman9 on March 30th, 2009
@ Nitrosaint
Hello do you have any idea why the 4 google sitelinks suddenly disappears from google’s index?
Nitrosaint on April 21st, 2009
it’s up to google’s discretion as to retain or remove the site links of your site in the search engine’s result page. There are a lot of factors but most of the time, these things can’t be predicted.
ipanks on August 30th, 2009
i have this experience too with this.but i do not take serious for this because i do not have understand the problem.