WordPress 500 Internal Server Error

Tips N Tricks 08 May 20104 Comments

You opened your website in the browser and were surprised to see WordPress 500 Internal Server Error instead of your website.

To resolve the issue, let’s first check the error log file.
* Login to your host via Control Panel (cPanel / Plesk).
* If your host uses CPanel, then go to File Manager else if your host uses Plesk then go to Log Manager and open error_log file.
* Search for the error messages like: “Premature end of script headers“.

This issue can be resolved in a number of ways. I am providing here all the methods.
You are free to use any one depending on your choice.

Solution 1: Increase the Memory Limit of your blog using PHP.INI file
Memory limit that your website can use is set in php.ini file at the below line
memory_limit = 32M;
Now change it to 64M or even higher if you want.
Reload your website.

Solution 2: Increase the memory limit of your blog using .htaccess file
Open .htaccess file and add the following line and save the file.
php_value memory_limit 64M
Reload your website.

Solution 3: Delete .htaccess file
* Go the root directory of your blog and delete .htaccess file.
* Login to your WordPress Dashboard and go to Settings –> Permalinks and Click on Save button. This will again generate your .htaccess file.
* If you are using WP-Super Cache Plug-in, then go to Settings –> WP Super Cache. You would see some code that to be added to .htaccess file. Click on the button to add that code to your newly created .htaccess file.

NOTE: Make sure to back-up your .htaccess file before making any changes to it.
Prior to this, I shared one post regarding How to redirect Add-On Domain.

=====>>>>>>>Buy Us Coffee and Award Us for our Hard Work

Similar Posts:

  1. How to open comments in new window in WordPress
  2. Ezine Articles WordPress Plugin
  3. How to redirect Addon Domain -htaccess changes
  4. Upgrade your WordPress Database Automatically: WordPress Automatic Upgrade
  5. My Plugins got approved in WordPress
  6. Hostgator May 2010 Discount Coupon
  7. WordPress Default Pinging Limitations And Its Solution- MaxBlogPress Ping Optimizer
     

If you like this post, Please Share and help us...

 

Author

- who has written 388 posts on TechOfWeb.

Atul is a professional blogger and techie who writes at TechOfWeb.

Subscribe to TechOfWeb feed via RSS || EMAIL || Twitter || Facebook to get instant latest tech updates.

TechOfWeb is a revenue-sharing blog. Write for us and make money. Read here for more info

Your Comments

4 Comments so far

  1. fareed says:

    great information thank you

  2. Marcus says:

    I can not find a php.ini file, where is it?

    • Atul says:

      @Marcus: Its in your host’s cpanel. Better you can contact your Website host for this. If something wrong done to php.ini file, it can be risky to a website.

  3. Shaiq says:

    Thanx a lot! I firstly made a back-up of my .htaccess file and then I deleted it from my cPanel. It really works.


Share your view

Post a comment

© 2011 TechOfWeb. Powered by Wordpress.

Wordpress themes by Woo Themes