How to Overcome 500 Internal Server Error

Rancakmedia.com – Have you ever experienced an error on your own WordPress site, or have you experienced a 500 internal server error when visiting someone else's blog?

Don't worry, this 500 error is one of the most common problems, especially with WordPress. To overcome it is not difficult and can be done quickly.

Corrupted htaccess files, script timeout, unsupported PHP version, incorrect file permissions, themes, plugins and incompatible WordPress version causes are the most common causes of 500 Internal Server Error problem.

In order for you to more quickly determine the cause of the 500 Internal Server Error problem, you need to remember what you modified before.

What is HTTP 500 Internal Server

What is HTTP 500 Internal Server?

A request is sent to the server hosting the website every time you access the web page, and a response code is returned in response. The HTTP response status code indicates whether the request was successful or not.

There are five categories of responses. Server errors are indicated by error codes 500 through 599. HTTP status code 500 is an error response often issued by servers when no other error code can be received.

The server may be unable to complete the request for various reasons. If the website you are viewing shows a 500 Error, there is not much you can do as the error is not being caused by your browser or Internet connection.

This list of solutions can be used even if the error is on the server end. Try another web browser or reload or refresh your current browser. Refreshing your browser has less chance of bringing up the page, but it's worth a try.

Try clearing the cache in your web browser. When the cached version of the page with 500 errors is deleted, the browser requests a fresh copy of the page. To learn how to empty your browser cache, go to this page.

Visit website in one minute. Meanwhile, the webmaster can fix server problems.
Contact the website owner. The last option is to contact the person in charge of the website you are currently browsing.

HTTP Internal Server Error Types

Each error has a unique numerical code, which is usually three digits long. Consequently, the following types should be understood:

  1. 100 – 199 : Information status
  2. 200 – 299 : Status success
  3. 300 – 399 : Redirect status
  4. 400 – 499 : Client error
  5. 500 – 599 : Server error

As a matter of fact, the 500 errors we've discussed are mostly server related. Usually, this code is displayed directly in the browser for viewing.

Error 500 messages appear differently in each web browser and server. Here's one example:

  1. 500 Internal Server Error
  2. HTTP 500 – Internal Server Error
  3. Temporary Errors (500)
  4. HTTP 500 Internal Error
  5. 500 Errors
  6. Internal Server Error
  7. HTTP Error 500
  8. That's an Error
  9. The website cannot display the page – HTTP 500
  10. A Blank white screen

How to Overcome 500 Internal Server Error

In order to quickly fix the 500 internal server error described above, you need to remember what you changed recently.

How to Overcome 500 Internal Server Error (2)

If you have found it, you just need to take a look at some of the solutions to fix it below:

Clear Browser Cache

Before trying other solutions, you can try clearing the browser cache. For Google Chrome users, the procedure is quite easy. Just navigate to the top right corner at the 3 dots (Customize and Control) > Select Settings > When you get to the bottom of the page, select Advanced, then click the Clear Browsing Data option. Select Cached Images and Files from the drop-down menu. That's all, in the end.

Please revisit the blog to see if everything is working as it should.

Reload Website Page

The second technique to cure internal server error 500 is quite easy. Try reloading or refreshing the page in a browser with an internal server error given a delay of about 30 seconds then reloading again.

Maybe there is a solution for this 500 internal server error because the server is overloaded causing problems when you visit. While waiting, you can also try opening it with another browser.

Check Plugins and Themes

WordPress plug-ins and themes are notorious for generating 500 errors. The error usually occurs after a plugin or theme has been updated or installed.

When performing an installation or update, go through each step one at a time so that you can pinpoint any issues or issues that may arise.

Beta versions and development of plugins and themes should not be used due to the large number of bugs present. If you still can't find it, try deactivating the plugin on your cPanel hosting account first to see if that helps. How to achieve this can be shown below:

  1. Login to your cPanel hosting account, usually the user and password are included when buying hosting.
  2. After entering, please look for File > File Manager
  3. Select your root domain then look for the public_html file > find the domain/subdomain name that you installed > wp content > Themes/Plugins
  4. Rename by adding –disabled to make checking easier
  5. Do it alternately one by one until you find it.

Check htaccess files

Just like in the discussion of internal server errors 403 and 404, htaccess is one of the files that must be verified, whether htaccess is the main problem or not.

Check htaccess files 

To see if it works, you can rename the htaccess file to.htaccess1, or leave it as is. Then try to open your blog to see if it's normal or not.

You can do this by logging into your WordPress dashboard and then editing the permalink and saving your changes. Visit the previous post on How to Fix the 404 Error in WordPress to learn more about setting up permalinks.

Adding PHP Limits

If the hosting is too large, plugins, themes, scripts and content may not load. This can cause a 500 error.

If you use WordPress, don't install plugins and themes that take up a lot of space; instead, just add what you need.

You can learn in the post which plugins to install on WordPress and advice on choosing the most suitable WordPress theme.

In addition, there is another approach, namely by adding memory and PHP values to the .htaccess file. Please enter the following line of code into the script:

  1. php_value upload_ax_filesize 128M
  2. php_value post_max_size 128M
  3. php_value max_execution_time 300
  4. php_value max_input_time 300
  5. php_value memory_limit 256M
  6. After that, don't forget to save and try whether it can return to normal or not.

Changing PHP Version

The latest WordPress plugins currently require the latest PHP version, so if a 500 internal server error notification appears, it may be because the plugin has a problem because it is not compatible with the PHP version.

The PHP version can be found under Software > Select PHP Version in your cPanel account. You should test your blog to see if it is typical or not.

Update WordPress Version

Apart from plugins, themes, and php, it turns out that the WordPress version might also be the source of the WordPress 505 error. If there is an update notification for the current version of WordPress, please apply for the update immediately, which will usually be displayed on the dashboard menu in the top corner.

Conclusion

So that's how to fix the 500 internal server error, one of the most common problems with WordPress sites. To overcome it is not difficult and can be done quickly. Also read how to deal with internal server errors on android.

Try clearing your browser cache or reloading or refreshing your browser to see if the problem is with the server. Error 500 messages appear differently in each web browser and server. Try clearing browser cache for Google Chrome users, or refreshing the page to fix it.

Back to top button