- Forums ›
- Software Programming Tutorials ›
- WordPress ›
- How to Fix HTTP 500 Internal Server Error for WordPress?
Recently someone in a community suffered with a serious WordPress installation problem and it was HTTP 500 Internal Server Error. He/ She was getting this problem when he/ she was trying to install new WordPress for his/ her new WordPress website. If you are a regular web surfer you would have occasionally experienced this 500 Internal Server Error which can appear because of different reasons:
1. 500 error can appear because of some problem with your theme
2. It can be because of your hosting configuration
3. It can be because of some problem with your .htaccess file
4. It can appear because you are going out of your virtual memory
5. HTTP 500 Internal Server Error can appear because you have limited bandwidth
What is HTTP 500 Internal Server Error?
HTTP stands for “Hypertext Transfer Protocol” and 500 is a status code which will appear every time when server will suffer with some kind of internal problem. Like I have stated above there can be many reasons this internal server problem can occur and in some cases it can not be clear that why server suffered with internal problem.
How to Fix Internal Server Error for WordPress?
Every time you have suffered with 500 internal server error, you should understand that something gone wrong with your hosting server. There are many ways which can be tried to fix this internal server error:
1: Check Memory Limit
First thing you should check that you are not running out of the memory you have been assigned by your hosting provider. You can check assigned memory in your hosting control panel.
2: Increase Memory Limit
If you have still enough memory but you are still suffering with this issue, you should increase your memory limit yourself. You can increase your WordPress memory limit in following ways:
– Open wp-config.php file in Notepad or Dreamweaver and put the following piece of code in it:
– If your hosting provider is allowing you to edit your php.ini file, you can put following piece of code in php.ini file to increase memory limit:
memory_limit = 64M ;
– On the other hand you can increase memory limit via .htaccess file. Open .htaccess file in Notepad or Dreamweaver and put the following line in it:
php_value memory_limit 64M
– If all of the above methods do not work, contact your hosting provider and they should increase memory limit for you.
3: Clear Browser Cache
If you are using website cache plugins like WP Super Cache, then you should also consider deleting cache of your browser. Once deleted cache, restart browser and check your website again.
4: Delete Cookies
500 internal server error can appear because of website cookies as well. If that is the case consider deleting cookies and restart your browser again.
5: Rename .htaccess File
In some cases HTTP 500 internal server error can appear because of corrupt .htaccess file. In this case you will need to rename your .htaccess file. Go to your control panel, rename .htaccess file in WP root directory to something like “.htaccess-old” and restart your browser.
6: Deactivate WordPress Plugins
You can suffer with 500 internal server error because of corrupt plugins as well. If all the methods stated above did not work, consider deactivating your WordPress plugins. To deactivate all WordPress plugins, go to control panel -> wp-content and rename “plugins” folder to “old-plugins” and restart your browser.
7: Re-Upload All Files
If all of the methods did not work so far, take old backup of your website including SQL backup and try re-uploading all the WordPress files and do a fresh WordPress installation.
8: Contact Your Hosting Provider
As per my experience 500 internal server error is most of the times because of some issue with hosting provider. Contact your hosting provider and discuss your issue in detail with them.
The forum ‘WordPress’ is closed to new topics and replies.