First, let's look at cases when you go to a website on the Internet and encounter such a problem. How to fix error 500?
1. Wait. Yes, the advice is trivial, but it works. At the moment of entry, the server could have been simply rebooted, so it became unavailable. Or the administrators are already actively working to eliminate the problem, and the site is about to start working. It also happens that the servers simply cannot handle the influx of visitors and it makes sense to look later.
2. Write to technical support. If the site is small, then there is a singapore cell phone number list chance that its functionality is not constantly monitored, and the administrator does not even know that the site is down.
What to do if an error appears on your own website
Server error 500 appeared - how to fix it if it is your site? In this case, you can influence the situation, since you have direct access to the site's file system. There are several actions that you can try to eliminate this error.
Study the error logs
This method is especially useful if you are constantly making changes to your site. Using logs, you can find out when errors started to appear. To find out where the error log is, look for this item in the hosting settings or write to technical support.
Check .htaccess file
All Apache sites have such a .htaccess file in the root directory, which can cause a 500 server error (caused by incorrectly written server settings). First, try changing the file name to any (you can simply add any number) so that the site stops loading it. If the site loads normally after the changes, then the problem is in it. Roll back the file to the latest changes. If there is no backup, then it makes sense to find the Options line and put the # symbol in front of it (this will completely disable the line from the file).