How to fix internal server error 500

How to fix internal server error 500 1

Although you already know how to fix gateway error 502, there are other errors that you usually encounter when accessing websites or web services, i.e. 500 internal server error.

It should be noted that 500 internal server error it is a server error and not yours. Therefore, the server administrator (or webmaster) must correct the error.


But that doesn't mean you can't do anything on your part. In this article, we will mention some proven solutions for visitors and website administrators too.

What is the Error 500 internal server?

"500 Incorrect gateway error"is HTTP status code that tells you something is wrong with the website / web service you are trying to access or visit.

In this case, the error comes from the end of the website and it is not always a problem on your computer / browser. Technically, something is wrong with the website settings or the server resources were unable to help the website function.

In other words, the server experienced an unexpected error.

For web server administrators, we will discuss this later in the next section of the article. However, if you are only a user (or visitor), you can try the following solutions:

Possible solutions to correct 500 internal server errors – for users

1. Reload web pages

This sounds silly, but sometimes the errors are temporary and simple reloads help you access the website smoothly. So you should try to do it first. press Ctrl + F5 on a PC and Cmd + Shift + R to update again on Mac.

2. Start private mode to access the websites

When in private mode (or in incognito mode), the browser does not store any cookies / cache for the content it accesses. So if this is a cache related issue then you should be able to access the website in private or incognito mode.

3. Clear your browser's cache / cookies

You can refer to our guide on how to clear search data in Chrome, Firefox and Edge to easily clear cache / cookies. Once you have cleaned it, try to reload the web page. As mentioned earlier, you can simply launch a new incognito browser tab, which is like a new browser.

4. Change DNS server

If the above two solutions don't work, you can try changing your DNS server. You can choose to change DNS on the router or Windows machine.

5. Use VPN

If your ISP (Internet Service Provider) is wrong, you can try using a VPN and then go to the website to see if it works.

6. Get rid of unnecessary browser extensions

If you have many extensions installed in your browser, try removing the ones you don't need. Sometimes browser extensions cause a lot of trouble, so you can try doing it too.

7. Restart your network system / computer

Sometimes restarting your system (and your network equipment) is successful. So why not try it if nothing works for you?

Possible solutions to fix 500 internal server errors – for webmasters

Note: It is important to keep a backup of your website before trying to fix the problem. If you already have a backup, you can also try restoring it to resolve the issue.

1. Create a new .htaccess file

Than .htaccess The file is a configuration file for the server running on the Apache Web Server software. Sometimes when you make changes to your server or web application (like installing a new plugin), the .htaccess the file will be modified, which could cause an error.

So in this case you just need to change the old name .htaccess file and create a new one. To change the name, you can add ".bak"As an extension of the original file, it will invalidate it.

After deactivating the original htaccess file, create a new one and upload it to the server via FTP. Depending on what you have on your web server, the .htaccess file will be different.

For example, if you run WordPress, you can check Official WordPress documentation for the default content of the .htaccess file.

In both cases, you can choose to tune the htaccess file to control caching, redirect web pages, and various other options.

2. Verification of server resources

You must ensure that your server is strong enough. To check that, just check your resource usage to see if there is a CPU spike or if the memory limit is reached.

You can't fix this problem if you have a server that is unreliable and powerful, so you may need a boost if you see something that is not normal.

3. Improve your WordPress site

If you have a website that runs WordPress, you can follow the video below to make sure you solve any issues that may be mentioned here. 500 errors on WP sites are often caused by PHP blocking, so check the PHP error log:

4. Check your file permissions

If you have made the latest changes, you should also check the file permissions.

Depending on what you have on your web server, Apache software or Nginx – You may need to explore the correct file permissions you need to fix the problem and keep your file safe.

5. Contact your host

Worst case scenario: If you don't understand the solution mentioned above, you should check with your host's customer service to help you fix the problem.

They might even fix it for you, or just guide you to fix it yourself. However, if you are not sure what you are doing, you should contact your hosting provider to help you fix 500 internal server errors.


As you can see, the 500 internal server error The issues are mainly server side issues.

If you are not a website administrator, you should report the problem to the website administrator if clearing your cache / cookies or changing DNS does not work for you.

Most of the time, this is a temporary problem that is fixed when you reload web pages. However, if you continue to see errors, you may have to wait for them (the website you are trying to access) to correct the server error.

Published in …

escort malatya escort bursa escort antalya escort konya mersin escort